Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.16MB] [CPU: ▼2.84ms] Passed 4 tests
Analyzing server-side resources used by Hackathon Management System
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.67 ▲0.21 | 51.64 ▲15.47 |
Dashboard /wp-admin | 3.45 ▲0.15 | 46.87 ▼6.03 |
Posts /wp-admin/edit.php | 3.50 ▲0.14 | 44.78 ▼2.31 |
Add New Post /wp-admin/post-new.php | 6.45 ▲0.56 | 87.26 ▼9.37 |
Media Library /wp-admin/upload.php | 3.37 ▲0.14 | 37.38 ▲6.34 |
HMS /wp-admin/options-general.php?page=hms | 3.34 | 33.05 |
Server storage [IO: ▲1.08MB] [DB: ▲0.07MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 117 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Hackathon Management System
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,273 ▲538 | 15.10 ▲0.72 | 31.45 ▲29.60 | 40.47 ▼4.81 |
Dashboard /wp-admin | 2,287 ▲99 | 5.86 ▲0.96 | 100.59 ▼12.86 | 38.12 ▼7.30 |
Posts /wp-admin/edit.php | 2,166 ▲74 | 2.17 ▲0.18 | 37.99 ▼4.15 | 32.87 ▼4.03 |
Add New Post /wp-admin/post-new.php | 1,578 ▲64 | 23.55 ▲6.04 | 664.92 ▼2.77 | 53.41 ▲2.80 |
Media Library /wp-admin/upload.php | 1,466 ▲75 | 4.19 ▲0.01 | 92.79 ▼5.59 | 41.18 ▼1.01 |
HMS /wp-admin/options-general.php?page=hms | 862 | 2.04 | 25.11 | 25.19 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
- 88× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/hackathon/inc/ajax/delete-team.php:36
- > PHP Fatal error
Uncaught Error: Call to undefined function hms_page_title() in wp-content/plugins/hackathon/templates/content/content-projects.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function hms_icon() in wp-content/plugins/hackathon/templates/navbar.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/hackathon/inc/teams.php:43
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/hackathon/inc/link-template.php:257
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/hackathon/inc/ajax/login-user.php:36
- > PHP Warning
require_once(HMS_PATHinc/functions.php): failed to open stream: No such file or directory in wp-content/plugins/hackathon/inc/init.php on line 9
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_timezone_string() in wp-content/plugins/hackathon/templates/widgets/widget-date.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function hms_icon() in wp-content/plugins/hackathon/templates/widgets/widget-messages.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/hackathon/inc/ajax/insert-message.php:29
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need to be fixed:
- Tags: No valid plugin tags found
hackathon/hackathon.php 85% from 13 tests
The principal PHP file in "Hackathon Management System" v. 1.2.0 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Requires PHP: Required version must match the one declared in readme.txt ("7.4" instead of "5.6")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin23,162 lines of code in 107 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 10 | 1,769 | 386 | 10,046 |
PHP | 88 | 2,133 | 1,018 | 9,711 |
JavaScript | 5 | 620 | 554 | 3,252 |
SVG | 4 | 0 | 0 | 153 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 237 | |
▷ Named functions | 233 | 98.31% |
▷ Anonymous functions | 4 | 1.69% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected