Slashdot Mirror


Would You Add Easter Eggs To Software Produced At Work?

Mr. Leinad writes "Do you add Easter Eggs to the software that is produced at the office? I mean, if you have complete control over the final product, do you spice it up with that little personal touch, which, as unlikely as it is that anyone will see, carries with it an 'I was here' signature? I've just finished the development of a large software product, and I have a couple of days left to try to add my own personal Easter Egg code, but given that the software is quite professional, I don't know if I should. What do you think? Should we developers sign our creations?"

54 of 747 comments (clear)

  1. I would by malkir · · Score: 5, Insightful

    Subtlety is key, even if it's for something like proving the program was coded by you if some asshole attempts to take credit...

    1. Re:I would by Anonymous Coward · · Score: 2, Insightful

      Link or it didn't happen.

      (And no, I'm not implying that links are a sufficient condition for truth, just a necessary condition of truth)

    2. Re:I would by mysidia · · Score: 3, Insightful

      The inspection process may have found it but just considered it an innocent footnote/program info page.

      Surely there isn't something malicious about having a buried feature to display some info about the software's developer(s)?

    3. Re:I would by lysergic.acid · · Score: 3, Insightful

      what's offensive is very subjective. and as history has shown, people can get offended by just about anything. the SimCopter easter egg sounds like it was meant to be more humorous than offensive. but i guess some people are offended by the sight of homosexuals, or perhaps just think that video games should not acknowledge the existence of homosexuality (after all, it might turn our children gay!).

      for those interested, the guy responsible for the SimCopter easter egg is now a member of the culture jamming activist group, the yes men. but be warned, if you're offended by the sight of pixelated men in kissing in a video game, you might want not want to click on that link.

    4. Re:I would by burlingk · · Score: 3, Insightful

      So, things that are not likely to be put on a web page require links for proof. :P I know that in this day and age it is far fetched, but there are a lot of things that will never have links that did happen.

    5. Re:I would by maxume · · Score: 2, Insightful

      So I had to look up "culture jamming" and it appears to be justifying being an asshole by being arrogant. Is that about right?

      --
      Nerd rage is the funniest rage.
    6. Re:I would by Rary · · Score: 4, Insightful

      Surely there isn't something malicious about having a buried feature to display some info about the software's developer(s)?

      No, but it raises the question: what else is buried in there?

      In fact, if I were trying to bury something malicious in code, I might consider hiding it in a seemingly harmless easter egg.

      --

      "You cannot simultaneously prevent and prepare for war." -- Albert Einstein

    7. Re:I would by someone1234 · · Score: 2, Insightful

      Yes, but you generally don't remove something known to be innocuous just because you suspect there is something buried deeper.
      You keep looking into the code, or ask the developer.
      Removing stuff that you don't know isn't a good solution, it might break the code too.
      If you don't trust your programmer, better you write your own code.

      --
      Patents Drive Free Software as Hurricanes Drive Construction Industry
  2. Of course! by ohxten · · Score: 5, Insightful

    Of course! Doing so in an unobtrusive, unharmful way only adds charm to the product.

    --
    Need an automatic screenshot taker? Try here.
    1. Re:Of course! by Anonymous Coward · · Score: 1, Insightful

      Of course, not! Go and have some quality time with your family or friends instead. Empty your head. Come back to the office and compare the customer requirements to your implementation.

    2. Re:Of course! by rtconner · · Score: 2, Insightful

      what if the zero and one are your only family? did you ever think of that?

      --
      023AD01("Child", "Evil");
  3. Shit happens by gmuslera · · Score: 4, Insightful

    Is a pending accident waiting to happen. Maybe because the change adding the Easter Egg the application have a problem (security, speed, space, whatever), maybe people find or know about your easter egg, do every possible misuse of the application to try to find another, and something breaks somewhere. And adding something not requested/approved by your company is a bad precedent, another way to put an "i was here" message is called "backdoor".

  4. Sure. But you had better be careful. by Anonymous Coward · · Score: 5, Insightful

    If your "easter egg" causes bugs that end up costing the company money, your ass is grass.

  5. God, no by eddy+the+lip · · Score: 4, Insightful

    These make for great legends, but as much as I hate to admit it, I've gotten very serious about my work. Easter eggs are not generally appreciated by the Powers That Be, or by clients paying big cash for a product. My personal reputation, and producing a quality product have become important to me.

    There's also the fact that that more code == more bugs. You can't get around that. Why open up a professional product and your reputation as a developer by making it more likely that you'll screw up?

    I can see certain exceptions to this - for instance, games with easter eggs (approved, of course) can add to the charm of a product. An easter in egg in Quicken would be less cool.

    --

    This is the voice of World Control. I bring you Peace.

  6. Comments. by LostCluster · · Score: 3, Insightful

    Your name should be all over the code you write... In the comments/remarks as defined by whatever language you're using.

  7. Re:Professionally Signed by Burnhard · · Score: 5, Insightful

    Speaking as a Software Engineer (I consider myself a professional); you are undermining the customer's trust in your product simply to massage your own ego. Customers are naturally concerned about integrity and security (more so today than ever before). Once you've demonstrated a desire to hide "secret features" in their products, they may start to wonder what other (perhaps malign functionality) is lurking in the code.

  8. Re:More for the Testers by Beardo+the+Bearded · · Score: 4, Insightful

    That's just good practice. You should put in a handful of bugs and see how many your QA department finds.

    If you put in 10 and they find 8 of those plus 24 other bugs, then you can roughly estimate that there are about 30 bugs in the code that you have to fix.

    Test your testers.

    --

    ---
    ECHELON is a government program to find words like bomb, jihad, plutonium, assassinate, and anarchy.
  9. Ask yourself one thing. by khasim · · Score: 5, Insightful

    How are your going to be able to explain NOT fixing a bug that got through in your code when you had time to include an un-spec'ed Easter egg?

    This isn't about charm. This is about having to explain to management why a customer is unhappy.

    1. Re:Ask yourself one thing. by EkriirkE · · Score: 3, Insightful

      An easter egg is not something that is written inline with a product, it is a subroutine. A new thread. Completely stand-alone and non integral, simply built-in and called from within. It should only be accessible through a highly unlikely or "no reason to have done that" sequence of events.

      If your application broke because of an easter egg, you did everything wrong. If your application is buggy it should never be because of the egg, even if the egg itself is buggy.

      --
      from 09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0
      to 45 2F 6E 40 3C DF 10 71 4E 41 DF AA 25 7D 31 3F
    2. Re:Ask yourself one thing. by BigZaphod · · Score: 4, Insightful

      Ugh. I've seen this comment (more or less) all over this thread and I just have to say: Why are so many of you living with such FEAR of your management? It can't be healthy! Lighten up, people! How can you even work for your management if you can't even think of them as *humans* who might like a joke as much as the next guy? Geesh. </rant>

    3. Re:Ask yourself one thing. by EkriirkE · · Score: 3, Insightful

      Sometimes I need to break away from whatever project I'm working on and do something else before I go insane. Read /., read a forum, code something else - like an easter egg (something light, maybe silly) for said mind-numbing project.

      --
      from 09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0
      to 45 2F 6E 40 3C DF 10 71 4E 41 DF AA 25 7D 31 3F
    4. Re:Ask yourself one thing. by bill_mcgonigle · · Score: 4, Insightful

      could end up costing your ability to supply roof and food.

      in theory. Even if he got fired, he'd almost certainly find a new, and probably better job.

      However the effects of stress are real and demonstrated. Humans tend to overly guard their immediate downside risk at the cost of the long-term downside risk.

      --
      My God, it's Full of Source!
      OUTSIDE_IP=$(dig +short my.ip @outsideip.net)
    5. Re:Ask yourself one thing. by Lumpy · · Score: 4, Insightful

      Both of which can be had with a walmart job. So your excuse has no merit.

      Quit treating your management like they are your lord and king and treat them like the people that should be thankful you are working for them.

      Cripes. Grow a pair.

      --
      Do not look at laser with remaining good eye.
    6. Re:Ask yourself one thing. by mysidia · · Score: 2, Insightful

      The best way is to have written solid code with no bugs or very very few bugs.

      Perhaps you included the easter egg as a "hook" to test other code.. I.E. Your easter egg hooks an API procedure, allowing you to more easily test a specific portion of it or troubleshoot any problem that might arise, than otherwise.

      The easter egg might display some general info about the application primarily of interest to developers or support people, hence the reason it is hidden.

    7. Re:Ask yourself one thing. by drerwk · · Score: 2, Insightful

      Even if he got fired, he'd almost certainly find a new, and probably better job.

      Maybe. When I hiring software engineers at Razorfish San Francisco, we interviewed http://en.wikipedia.org/wiki/Jacques_Servin around 1998 I think. Google was fairly new to me, and I checked his name. We did not hire him.
      No doubt he found a much better job.

    8. Re:Ask yourself one thing. by QuantumG · · Score: 3, Insightful

      Then you're a slave.

      You set the conditions of your employment, your employment does not set conditions on you.

      --
      How we know is more important than what we know.
    9. Re:Ask yourself one thing. by BigZaphod · · Score: 2, Insightful

      Sadly, I think point (b) is a significant cause of point (a) in the first place. :/

  10. Re:Professionally Signed by ScrewMaster · · Score: 4, Insightful

    Speaking as a Software Engineer (I consider myself a professional); you are undermining the customer's trust in your product simply to massage your own ego. Customers are naturally concerned about integrity and security (more so today than ever before). Once you've demonstrated a desire to hide "secret features" in their products, they may start to wonder what other (perhaps malign functionality) is lurking in the code.

    Thank you. I was starting to think that attitude was entirely missing from the Slashdot crowd. "Easter Eggs", bah. Programmers and engineers should make their mark in the world by designing and implementing quality products and not, as you say, massaging their obviously-inflated egos.

    --
    The higher the technology, the sharper that two-edged sword.
  11. My Easter Eggs are comments and error messages. by FatSean · · Score: 3, Insightful

    A humorous error message often brightens the day of the poor guy in operations who has to report back to the developer.

    --
    Blar.
    1. Re:My Easter Eggs are comments and error messages. by Coriolis · · Score: 2, Insightful

      The reason people post these statistics is they're true and they're useful. If we're starting a project, and I've got a rough idea how many lines of code or how many hours it'll take to implement, how do I work out how much time to allocate to defect fixing? If it's a new team, and a new technology, and I don't have any historical figures to go on, all I've got is industry average figures and some careful weighting. It's either that or gut feel, and most people's gut feel is terrible.

      The links you posted refer to lines of code per unit of functionality, not defects per line of code. The defect rate of a language is not the inverse of its expressive power. That's because the majority of programmer-introduced defects are from one of three sources:

      1. Programmers not understanding the requirements (usually not their fault, the requirements themselves are usually to blame).
      2. Programmers not understanding the technology they're using.
      3. Programmers not concentrating.

      These are all independent of what language you're using, and they're all just functions of time (see below). That's why defects/KLOC or defects/hr are useful metrics.

      Yes, of course the language you choose affects your productivity, and probably your defect rate too; consider that the move away from C++ to Java and C# probably eliminated 80% of the memory leak defects at a stroke. Of course, that still leaves the unchecked null reference defects...grrr.

      I would, however sound a note of caution about that study. It's not at all clear that their productivity measure includes defect-fixing time. Remember, code's not done until it's done and working. Over the years, I've come to believe that in the hands of a talented programmer, dynamically typed, dynamically structured, interpreted languages can be orders of magnitude more productive. The only problem is, there aren't that many programmers of that caliber. Most programmers need all the help that the compiler can give them.

      When I say they're all functions of time, consider:

      • If you don't understand the requirements, the more of them you implement, the more damage you'll do.
      • If you don't understand the technology, the more code you write with it, the more damage you'll do.
      • The longer you code, the lower your concentration drops. The longer you code with poor concentration, the more damage you'll do.
      --
      Rgasuya aata! : I have been coding Perl and cannot tell where my fingers are now!
  12. Re:Well.. by ScrewMaster · · Score: 2, Insightful

    Easter Eggs? No, funny comments/error messages, and bizarre variable names, absolutely.

    I will never forget the day a student who was using my software for a project asked during a meeting what an 'out of cheese' error was. The poor kid was so confused :)

    Nothing really tops the Amiga's "Guru Meditation Error".

    --
    The higher the technology, the sharper that two-edged sword.
  13. No problem if it's small and unobtrusive. by nozzo · · Score: 2, Insightful

    I normally put one in that if you hold down CTRL and click a certain area of the screen it'll say something like "Programmed by x, y and z". Just so I know I'll always have a little bit of me in there.

  14. Re:Well.. by EkriirkE · · Score: 2, Insightful

    only stuff that appears in compiled code should count. Unless you are talking scripts

    --
    from 09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0
    to 45 2F 6E 40 3C DF 10 71 4E 41 DF AA 25 7D 31 3F
  15. No every product deserves one... by parabyte · · Score: 2, Insightful

    but if you are proud of what you have achieved, go ahead, it is a human right. I did it a couple of times when it seemed appropriate, and it was never a problem. If you are in a position where you are responsible for creating the system, it is just your decision.

    If you need a rational argument for doing it: It might make the team more proud of the product, more productive for future releases, projects or products. A company is about people, and it is a people issue.

    And when even weapon designers can put easter eggs into missiles, I can't imagine anything to be too serious to pull it off; a product just may be too boring or suck too much to deserve an easter egg.

    An easter egg is just a sign that the people who made the product did care about it, and are proud of it. An easter egg is like a medal or decoration for the product.

    p.

    --
    Without order, nothing can exist. Without chaos, nothing can be created.
  16. Re:Professionally Signed by ScrewMaster · · Score: 5, Insightful

    I am a robot. I do only as instructed. Beep beep. Bloop Bloop.

    Be insulting if you wish. If you're a programmer or a software engineer, one day you may get involved with a project that has a serious penalty for failure (and no, I don't mean a bank or e-commerce Web site or something equally safe.) Believe me, when that happens you'll change your tune and get pretty damn serious. "Easter Eggs" and other irrelevancies suddenly become significant liabilities, and you don't even think about them anymore.

    I'm happy when a customer notices that the software functions well, is easy to work with, and is solid. In other words, if get noticed it's because I did my job right, not because of some childish desire for attention.

    Still, if you work on trivial applications it's okay to treat them like toys, I suppose. I don't, on either score. In any event, I agree with Burnhard. It boils down to whether you want to satisfy some psychological need, or want to earn the trust of both your employer and your customers. The latter is usually more satisfying.

    You decide.

    --
    The higher the technology, the sharper that two-edged sword.
  17. You should already know by richtaur · · Score: 2, Insightful

    It sounds like you shouldn't do it, at least in this particular case. You say that "the software is quite professional," which makes it sound inappropriate. When you work on a fun product whose target audience would appreciate such things, you'll already know that Easter Eggs are fine.

    Pass for now, and perhaps look for more fun projects in the future.

  18. Re:No. by D4MO · · Score: 2, Insightful

    how the hell is this modded down? the best code is no code, adding random crap will only have your customers wondering what other random crap is floating in there.

    --

    Rocket science is easy. Neurosurgery, now *that's* difficult.
  19. Re:Well, yes by Free+the+Cowards · · Score: 4, Insightful

    Authority is never worth respecting merely because it's authority.

    --
    If you mod me Overrated, you are admitting that you have no penis.
  20. Yes, but keep it simple! by kalislashdot · · Score: 4, Insightful

    I was working on a Web App that has date fields. There is an example of how to format the date next to it and I put my wedding day. The spec did not call for any certain date. I can look at it years from now and see where I left my mark.

    I do not get any more adventurous then that. Once were were going to make a database table called WEGAS, which stood for Who Else Gives A Shit, it was a list of people who wanted to be notified when the issue/ticket was updated. We chickened out and called it Notification.

    Also if you have a small shop, then it is fun, but in a larger shop it is usually frowned upon. then you also may have to explain it in a code review. So just stay light like I do.

    Once I wrote in the document about paging I put "Example page 7 of 9". to me this is an Easter egg. I could have but page 3 or 10, but that means nothing, and 7 of 9 works just as well.

  21. Re:Well.. by Splab · · Score: 2, Insightful

    Wrong approach, hand him a Terry Pratchett book and tell him to look for the answer, his life will be better.

  22. Re:Well, yes by Splab · · Score: 4, Insightful

    Uhm, RAID 10 on databases has for a very long time been the defacto way of doing things (mirror and stripe everything). And your comment below about it being a raid 5 raided over 5 makes little sense - to me it seems like you have no idea what you are talking about.

    Granted these days you would most likely opt for RAID 60 if you got the money for it, but RAID 10 is still the best price/performance for databases.

  23. Re:Professionally Signed by camperdave · · Score: 3, Insightful

    No, I wouldn't expect that. But I would not be very surprised if a "Kilroy was here" showed up on the firewall, or someone's name was written underneath the trunk upholstery. People have been doing stuff like that since the Egyptian Pharoahs played Dungeon Draggin' with thousands of slaves.

    --
    When our name is on the back of your car, we're behind you all the way!
  24. Re:No. by DaveV1.0 · · Score: 2, Insightful

    You are just upset because you know in your heart that he is correct.

    --
    There is no "-1 offended" or "-1 you don't agree with me" mod options for a reason.
  25. Re:Professionally Signed by neomunk · · Score: 4, Insightful

    But that's not the choice you're being given. I'd say a better analogy is choosing between a doctor who gives you an EEG with regular white pads and a doctor who gives you an EEG with pads that are colored like nipples (or polka-dots at a family doctor). You're getting the same quality of work (or at least the quality is unaffected by this particular variable) with only slight change in aesthetic.

    I'm not disagreeing with your main point about software integrity, but your analogy struck me as disingenuous.

  26. Re:More for the Testers by Oligonicella · · Score: 2, Insightful

    My take would be the bogus waste of time for the testers. Each known, introduced bug consumes resources that would go to actual testing. Add to that, it's not the programmer's responsibility to test QA, it's theirs to test him/her and if they find a shit load of bugs, he/her might start seeking employment for being a crappy programmer. And I sincerely doubt anyone will believe or be humored by the revelation they were purposefully introduced.

  27. Re:Well, yes by Oligonicella · · Score: 2, Insightful

    Yeah, I'm a level seventy. So what?

    ... anyone who's worked in this industry knows that management can be ignorant, paranoid, and unwilling to change.

    You bet. Anyone who's working in this industry also knows that some programmers think they're God's gift and know more the the entirety of the rest of the organization.

    I care about keeping the business running. ... Many queries were made and security operations attempted to track down who had made the "unauthorized script".

    Kinda contradictory.

  28. Re:Well, yes by Free+the+Cowards · · Score: 2, Insightful

    If you had said "most of the time", I would agree. But I cannot accept that it is always in my best interest.

    --
    If you mod me Overrated, you are admitting that you have no penis.
  29. Re:Well.. by Blakey+Rat · · Score: 2, Insightful

    Yeah, but as a former elementary school computer lab volunteer, please, do not code error dialogs like, "out of fucking memory" or "something fucked up" in your otherwise kid-friendly game. I can guarantee, no matter how unlikely you think the error is, it WILL come up in a classroom setting.

  30. Re:No. by the_B0fh · · Score: 2, Insightful

    *WRONG* You guys are the reasons why software sucks in general, the damned cowboy attitudes. Professional developers leave the need to "leave their mark" at home. You're not a fucking dog needing to pee on a tree to show "your mark".

  31. Easter Eggs are unprofessional by kaladorn · · Score: 5, Insightful

    Some of the responses in this thread make me think a lot of the folks responding either don't do contract software development for a customer, don't work on any sort of mission critical software, or aren't terribly mature.

    An easter egg is: a) extra code that could introduce a new bug (accidents happen, even in easter eggs - I've seen a screwed up easter egg crash a program and leave the machine locked up)
    b) something that is not part of requirements and if caught during client code reviews or after installation, would put your employer in a complicated position since your spending time on such an unallocated task could basically be considered a form of fraud if the client is paying for your services
    c) a sign of vanity - professionals do the job, do it well, and move on, not write silly-ass amateur crap just to amuse themselves and stroke their egos
    d) something some other poor software engineer might have to fix or remove and they might not find so darn funny

    A professional should take satisfaction in a job done well.

    Do civil or mechanical engineers leave easter eggs? Do nurses? Do doctors? Grow the hell up... people bitch about software folks never being given the same respect as other engineering fields and it is the attitude of the average programmer that has a sizable part in explaining this.

    Would you want your doctor leaving an easter egg? Would you want your dentist? Or would you find it funny if your phone dialed random numbers on some developers birthday? Or if your traffic light flashed all green every summer solstice? I think not.

    I suspect the gulf here between those respondents who manage programmers and deal with clients or who work in any form of mission critical software or professional services and those who write shrink-wrapped software or less critical applications when it comes to easter eggs is probably sizable. All it takes is seeing a co-worker having his ass kicked because a manager had his chewed off by an angry client to understand that, in professional environments, this kind of stuff doesn't fly (and shouldn't).

    You're not paid to be an artist. If you were, they'd cut one copy of your code and display it up in a museum. You're paid to implement requirements as defined by your employer and possibly your customer. When you aren't doing that, you're basically screwing the pooch and exploiting your employer. Some may feel justified doing this, but that's a crock. If you don't like the job, GTFO. If you do like the job, be a professional and leave the high-school hijinks behind.

    (And yes, I've worked for 15 years in mission critical software for the police, the military, air navigation training systems, cell phone portals, VOIP and call processors, HR systems, and so on, so it does colour my view on easter eggs...)

    --
    -- Mal: "Well they tell you: never hit a man with a closed fist. But it is, on occasion, hilarious."
  32. Other Engineers leave Easter Eggs of sorts as well by jotaeleemeese · · Score: 4, Insightful

    Although I agree with the general gist of your post (not the tone mind you) this need to leave something personal in a major work is not a new thing.

    Workers in cathedrals of all times always took a bit of time to leave personal marks, from signatures to most complex features (faces, figures, etc) to sign a piece of work well done.

    Electronics Engineers nowadays make minuscule engravings in the circuits they design.

    Civil Engineers and Architects very often leave an small sculpture, signature, aesthetic feature that is not in the specifications but that adds a final personal touch.

    I can't imagine that a client paying for a service that is delivered in time and budget would object in the terms you are putting to a silly joke, but I tend to agree that in the case of software, unlike an added feature to a bridge or a building, a joke can always bring a system to its knees (even if it is coded carefully and cleanly, software is exponentially complex, so it is almost impossible to foresee all the possible conditions under which an Easter Egg could cause havoc).

    --
    IANAL but write like a drunk one.
  33. Oh for bunnies sakes. by jotaeleemeese · · Score: 2, Insightful

    In civilized countries only junkies and alcoholics don't eat or have a roof over their heads (if the US is civilized is open to discussion, they don't even have socialized health care).

    If you live in Somalia, Ethiopia or Sudan then yeah, your are fucked if you lose your job, but an British, German or Japanese person worrying about going hungry or homeless is frankly ridiculous, I don't know about the US, but I did not see any shanty towns the few times I was there (although it seems some are goring outside some towns in Texas....)

    --
    IANAL but write like a drunk one.
  34. Re: A WORK FOR HIRE by Douglas+Goodall · · Score: 2, Insightful

    As much as we would all like our names on our work, many of us work under contract to create software that then belongs to the client. Unless you have it in the contact, and/or it is in the specification that an about dialog displays the programmer's name, doing this may be actionable. Many companies where the owners are developers themselves are ok with this because they understand. Some companies feel they need plausible deniability in case a developer runs afoul of the law, like that file system guy. Did IBM really want everyone to know Easywriter was written by Captain Crunch? Not really. In fact that was quite a lapse of judgement. Support people just hate hearing from users that unknown functions exist when undocumented keystrokes are entered. I suspect this kind of thing originated in game software mostly. In retrospect, people would be surprised at all the software I have written, and I wish I had the ability to have my name displayed when people are at an ATM machine, or use a SCSI hard drive...

  35. Re:More for the Testers by Anonymous Coward · · Score: 1, Insightful

    Newsflash - QA don't exist to find your bugs.

    They already have more possible tests to run than they can actually run in the time allocated. The QA role is one of risk management - test planning is used to select tests that assess and eliminate as much risk as possible in that time. That selection is based both on experience and assumptions. One of those assumptions is that the developers aren't being jackasses. Believe it or not, but a lot of QA comes down to trust. If QA ran a full performance test suite and code audit against revision X of your code and found no performance problems, but on the other hand found a bunch of functional bugs, then when you are developing revision Y, QA are likely to prioritize functional testing not performance testing. The regression test suite may include some performance testing, but basically QA will make the assumption that this code is unlikely to contain performance issues and plan testing accordingly. By deliberately introducing bugs you are screwing with those assumptions - and those bugs may not be tested because of those same assumptions.

    Your statistical analysis is also flawed.

    1) Since you don't get to determine which test suites are being run, you don't know which of your bugs the test suites couldn't have caught. You cannot use the percentage of found deliberate bugs to extrapolate anything.
    2) Even if you had intimate knowledge of the test suites and test plan and introduced bugs accordingly, it would only tell you that 2 of the test cases either weren't run, were run incorrectly, or had results misinterpreted. It would tell you nothing about how completely or accurately the other test cases were executed, nor how completely the test suites covered the code. You'd still be wrong to extrapolate.
    3) Even if you _could_ extrapolate this number, you'd still be wrong. So, you've estimated 30 bugs. What are you going to do with that number? Hunt down 30 bugs, fix them and declare the product bug-free? Wrong. There's always more bugs.
    4) Assuming for a minute that you live in a parallel universe where there aren't more bugs. Now you've got to find them. Finding the first 10 might be fairly easy, but after you've run every test scenario and test suite related to this code, and implemented and run every unit test possible, and delayed the release by several weeks (if not months) you still will not have found all 30.
    5) Assume for a minute the impossible has happened. You found them all. You won't fix them all. Each will be triaged and the risk of fixing it versus the risk of not fixing it assessed. The risk of fixing it now versus the risk of fixing it later, etc. Most of them won't get fixed now (that's why everyone has a long bug list). You have no way of predicting what ratio will get fixed.
    6) Even if everything else that I've said so far is completely wrong, you are still wrong. You have 40 bugs to fix, or were you planning to leave the deliberate bugs in the released product?.

    Since you seem to have plenty of time on your hands, perhaps you could use it to a more productive effect by (a) spending it on design, code review, documentation, unit test development etc, ie one of those things that often get neglected but are actually useful in developing good software, (b) giving the code to QA earlier, (c) squashing another bug from the ever-present bug list, or (d) if you're really so fantastic that you've already done all of that, maybe you could help one of the more junior developers become a better coder.

    Just about the only thing that you shouldn't be doing is adding non-required unspecified code (easter eggs) or deliberately introducing bugs that will later need to be fixed (if you remember). The only effect of both of those behaviors is to add unnecessary risk. Let me repeat that in case it didn't sink in the first time.

    The only effect of both of those behaviors is to add unnecessary risk.

    Grow up. Be professional. Start treating your QA folk with courtesy and respect. They are not 'testers' and do not need to be 'kept honest' nor tested. They need to be able to trust you so that they can help you produce quality software.