Showing 372 of 372 total issues
Function Schedule
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
function Schedule() {
const [workshops, setWorkshops] = useState([{'id': '', 'eventName': '', 'eventDetail': '', 'startTime': '', 'zoomLink': '', 'inPerson': ''}]);
// const [dropdownOpen, setDropdownOpen] = useState(false);
useEffect(() => {
Function Schedule
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
function Schedule() {
const [workshops, setWorkshops] = useState([{'id': '', 'eventName': '', 'eventDetail': '', 'startTime': '', 'zoomLink': '', 'inPerson': ''}]);
// const [dropdownOpen, setDropdownOpen] = useState(false);
useEffect(() => {
Similar blocks of code found in 2 locations. Consider refactoring. Open
<h3 className="mono text-peach hack mb-4"> <a className="mono text-peach hack mb-4"
href="https://www.signupgenius.com/go/10C0E4DADAD2FA5F9CE9-signupcf" target="_blank" rel="noreferrer noopener"> <u>
SIGN UP</u> </a> for career panels and 1:1 sessions </h3>
- Read upRead up
Duplicated Code
Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:
Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.
When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).
Tuning
This issue has a mass of 63.
We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.
The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.
If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.
See codeclimate-duplication
's documentation for more information about tuning the mass threshold in your .codeclimate.yml
.
Refactorings
- Extract Method
- Extract Class
- Form Template Method
- Introduce Null Object
- Pull Up Method
- Pull Up Field
- Substitute Algorithm
Further Reading
- Don't Repeat Yourself on the C2 Wiki
- Duplicated Code on SourceMaking
- Refactoring: Improving the Design of Existing Code by Martin Fowler. Duplicated Code, p76
Similar blocks of code found in 2 locations. Consider refactoring. Open
<h3 className="mono text-peach hack mb-4"> <a className="mono text-peach hack mb-4"
href="https://forms.gle/JbkndWdHQCLwDuo68" target="_blank" rel="noreferrer noopener"> <u>
REGISTER</u> </a> to save your spot and submit a resume </h3>
- Read upRead up
Duplicated Code
Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:
Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.
When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).
Tuning
This issue has a mass of 63.
We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.
The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.
If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.
See codeclimate-duplication
's documentation for more information about tuning the mass threshold in your .codeclimate.yml
.
Refactorings
- Extract Method
- Extract Class
- Form Template Method
- Introduce Null Object
- Pull Up Method
- Pull Up Field
- Substitute Algorithm
Further Reading
- Don't Repeat Yourself on the C2 Wiki
- Duplicated Code on SourceMaking
- Refactoring: Improving the Design of Existing Code by Martin Fowler. Duplicated Code, p76
Function Location
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
function Location() {
const [location, setLocation] = useState({'virtual': '', 'inPerson': '', 'id': ''});
useEffect(() => {
Function Location
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
function Location() {
const [location, setLocation] = useState({'virtual': '', 'inPerson': '', 'id': ''});
useEffect(() => {
Function CareerFairLocation
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
function CareerFairLocation() {
const [location, setLocation] = useState({'virtual': '', 'inPerson': '', 'id': ''});
useEffect(() => {
Function CareerFairLocation
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
function CareerFairLocation() {
const [location, setLocation] = useState({'virtual': '', 'inPerson': '', 'id': ''});
useEffect(() => {
Similar blocks of code found in 2 locations. Consider refactoring. Open
<a href="https://mlh.io/na?utm_source=na-hackathon&utm_medium=TrustBadge&utm_campaign=2023-season&utm_content=white" target="_blank" rel="noreferrer noopener">
<img className="mlhbannermobile" src={mlh2022banner} alt="Major League Hacking 2023 Hackathon Season" width="85" height="110"/>
</a>
- Read upRead up
Duplicated Code
Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:
Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.
When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).
Tuning
This issue has a mass of 62.
We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.
The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.
If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.
See codeclimate-duplication
's documentation for more information about tuning the mass threshold in your .codeclimate.yml
.
Refactorings
- Extract Method
- Extract Class
- Form Template Method
- Introduce Null Object
- Pull Up Method
- Pull Up Field
- Substitute Algorithm
Further Reading
- Don't Repeat Yourself on the C2 Wiki
- Duplicated Code on SourceMaking
- Refactoring: Improving the Design of Existing Code by Martin Fowler. Duplicated Code, p76
Similar blocks of code found in 2 locations. Consider refactoring. Open
<a href="https://mlh.io/" target="_blank" rel="noreferrer noopener">
<img className="mlhbanner" src={mlh2022banner} alt="Major League Hacking 2022 Hackathon Season" width="100" height="170"/>
</a>
- Read upRead up
Duplicated Code
Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:
Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.
When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).
Tuning
This issue has a mass of 62.
We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.
The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.
If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.
See codeclimate-duplication
's documentation for more information about tuning the mass threshold in your .codeclimate.yml
.
Refactorings
- Extract Method
- Extract Class
- Form Template Method
- Introduce Null Object
- Pull Up Method
- Pull Up Field
- Substitute Algorithm
Further Reading
- Don't Repeat Yourself on the C2 Wiki
- Duplicated Code on SourceMaking
- Refactoring: Improving the Design of Existing Code by Martin Fowler. Duplicated Code, p76
Function App
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
function App() {
return (
<BrowserRouter>
<Switch>
<Route exact path="/branding">
Function FAQ
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
function FAQ() {
const [faq, setFaq] = useState([{'question': '', 'answer': ''}]);
useEffect(() => {
Function FAQ
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
function FAQ() {
const [faq, setFaq] = useState([{'question': '', 'answer': ''}]);
useEffect(() => {
Function Footer
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
function Footer(props: Props) {
return (
<div id={props.id}>
<img src={footerWaves} style={{transform: 'rotate(180deg)', marginBottom:-1}} alt="Orange wave"/>
<div className="bg-orange d-flex flex-row pb-5 pt-5">
Function FAQ
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
function FAQ() {
const [faq, setFaq] = useState([{'question': '', 'answer': ''}]);
useEffect(() => {
Function FAQ
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
function FAQ() {
const [faq, setFaq] = useState([{'question': '', 'answer': ''}]);
useEffect(() => {
Function PrizeItem
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
function PrizeItem(props: Props): JSX.Element {
const [dropdownOpen, setDropdownOpen] = useState(false);
if(isMobile) {
return (
Function OneOnOneSchedule
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
function OneOnOneSchedule() {
const [oneOnOne, setOneOnOne] = useState([{'id': '', 'eventName': '', 'eventDetail': '', 'startTime': '', 'zoomLink': '', 'inPerson': ''}]);
// const [dropdownOpen, setDropdownOpen] = useState(false);
useEffect(() => {
Function OneOnOneSchedule
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
function OneOnOneSchedule() {
const [oneOnOne, setOneOnOne] = useState([{'id': '', 'eventName': '', 'eventDetail': '', 'startTime': '', 'zoomLink': '', 'inPerson': ''}]);
// const [dropdownOpen, setDropdownOpen] = useState(false);
useEffect(() => {
Function About
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
function About(props: Props) {
const [aboutLists, setAboutLists] = useState([{'header': '', 'items': []}]);
useEffect(() => {