Cyfrin CodeHawks
HomeCyfrinSoloditUpdraftSupport
  • 👋Intro to Cyfrin Codehawks
  • ✏️Glossary
  • ⁉️FAQs
  • 🛡️Hawks (auditors)
    • What is a Competitive Audit?
    • Quick Start
    • The Kick-Off Period
    • How to Present Your Findings
    • How to Evaluate a Finding Severity
    • How to Determine a Finding Validity
    • How to Write a PoC
    • Appeals
    • Payouts
    • How Does XP Work?
  • 👩‍⚖️Judging
    • The Judging Process
    • How Community Judging Works
    • Community Judging Eligibility
    • Disqualification Criteria
    • Payouts and Rewards
  • 👩‍💻Protocol teams (sponsors)
    • The Auditing process
    • Case Studies
    • Request an Audit
  • 🦅First Flights
  • 🫂Create and Submit a First Flight
  • 🛠️Tools
  • Learn blockchain security
  • Twitter
  • LinkedIn
  • GitHub
  • Support
Powered by GitBook
On this page

Was this helpful?

Edit on GitHub

Glossary

Find the definition of commonly used terms on CodeHawks.

PreviousIntro to Cyfrin CodehawksNextFAQs

Last updated 9 months ago

Was this helpful?

nSLOC

nSLOC stands for 'Normalized Source Lines of Code', a custom measurement we use (among other things) to evaluate the complexity of a codebase.

To get the NSLOC count of a file:

  1. For all functions, reduce any multiline function declarations to a single line.

  2. Remove all comments

  3. Remove all empty lines

  4. Count the remaining lines

PoC - Proof of Concept

A proof of concept (PoC) is a demonstration or experiment that seeks to validate the feasibility, functionality, and potential of a particular idea, concept, or method. Typically used in the early stages of development, a PoC demonstrates that a concept or theory has practical potential for real-world application. It doesn't aim to represent a finished product or solution. Instead, verifying that a specific idea can be developed into a functional prototype or product is a foundational step.

QAs - Quality Assurance

QA reports are essential software development and testing documents that highlight the status, progress, and potential issues of a particular product or system under evaluation. Here's a brief overview of what a QA report might entail.

Finding

Any submission done by a Hawk (auditor) to a contest reporting a bug or potential exploitation vector in a smart contract or codebase

Complexity

The complexity of a code base or smart contract, calculated using , taking into consideration:

  • nSLOC

  • Number of contracts

And other parameters

Sponsor

Any protocol's team or developers willing to make their smart contracts more secure and their users safe by sponsoring a smart contract auditing competition on Codehawks.com

Hawks

The unique community of auditors on

✏️
Solidity Core Metrics
codehawks.com