Benchmarks
Plugin footprint 23% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The following installer errors require your attention
- Install procedure validation failed for this plugin
- > Notice in wp-content/plugins/fleet/includes/iworks/options/options.php+985
Undefined index: options
Server metrics [RAM: ▲2.03MB] [CPU: ▲15.04ms] Passed 4 tests
A check of server-side resources used by Fleet Manager
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.44 ▲1.98 | 56.28 ▲10.79 |
Dashboard /wp-admin | 5.35 ▲2.05 | 67.34 ▲14.57 |
Posts /wp-admin/edit.php | 5.46 ▲2.10 | 71.97 ▲22.55 |
Add New Post /wp-admin/post-new.php | 7.93 ▲2.04 | 110.86 ▲12.23 |
Media Library /wp-admin/upload.php | 5.27 ▲2.04 | 62.04 ▲24.45 |
Configuration /wp-admin/edit.php?post_type=iworks_fleet_person&page=iworks_fleet_index | 5.42 | 69.70 |
Add New Person /wp-admin/post-new.php?post_type=iworks_fleet_person | 5.41 | 68.98 |
Boats /wp-admin/edit.php?post_type=iworks_fleet_boat | 5.32 | 52.87 |
Results /wp-admin/edit.php?post_type=iworks_fleet_result | 5.32 | 52.40 |
Add New Boat /wp-admin/post-new.php?post_type=iworks_fleet_boat | 5.49 | 73.16 |
Series /wp-admin/edit-tags.php?taxonomy=iworks_fleet_serie&post_type=iworks_fleet_person | 5.26 | 51.15 |
Clubs /wp-admin/edit-tags.php?taxonomy=iworks_fleet_club&post_type=iworks_fleet_person | 5.26 | 52.61 |
Boat Number /wp-admin/edit-tags.php?taxonomy=boat_number&post_type=attachment | 5.26 | 48.97 |
Persons /wp-admin/edit.php?post_type=iworks_fleet_person | 5.32 | 52.07 |
Locations /wp-admin/edit-tags.php?taxonomy=iworks_fleet_location&post_type=iworks_fleet_person | 5.27 | 50.99 |
Server storage [IO: ▲3.77MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 167 new files
Database: 2 new tables, 34 new options
New tables |
---|
wp_fleet_regatta_race |
wp_fleet_regatta |
New WordPress options |
---|
fleet_db_version |
iworks_fleet_boat_show_owners |
theysaidso_admin_options |
iworks_fleet_results_show_points |
iworks_fleet_result_show_english_title |
iworks_fleet_person_show_articles_with_person_tag |
iworks_fleet_boat_show_trophy |
iworks_fleet_wide_class |
iworks_fleet_results_show_trophy |
can_compress_scripts |
... |
Browser metrics Passed 4 tests
Fleet Manager: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,880 ▲134 | 13.65 ▼0.73 | 1.61 ▼0.29 | 38.77 ▼3.04 |
Dashboard /wp-admin | 2,275 ▲87 | 4.86 ▼0.03 | 107.76 ▼9.00 | 39.92 ▼5.09 |
Posts /wp-admin/edit.php | 2,158 ▲69 | 2.06 ▲0.00 | 39.14 ▲1.32 | 35.75 ▼1.35 |
Add New Post /wp-admin/post-new.php | 1,589 ▲56 | 23.05 ▼0.22 | 645.82 ▼58.55 | 51.58 ▼7.24 |
Media Library /wp-admin/upload.php | 1,460 ▲75 | 4.23 ▲0.11 | 98.45 ▼17.51 | 45.41 ▼3.57 |
Configuration /wp-admin/edit.php?post_type=iworks_fleet_person&page=iworks_fleet_index | 2,371 | 3.63 | 108.28 | 50.70 |
Add New Person /wp-admin/post-new.php?post_type=iworks_fleet_person | 3,173 | 7.73 | 194.45 | 69.99 |
Boats /wp-admin/edit.php?post_type=iworks_fleet_boat | 1,153 | 2.50 | 36.58 | 27.24 |
Results /wp-admin/edit.php?post_type=iworks_fleet_result | 1,201 | 2.49 | 41.36 | 30.30 |
Add New Boat /wp-admin/post-new.php?post_type=iworks_fleet_boat | 4,740 | 8.25 | 203.50 | 63.04 |
Series /wp-admin/edit-tags.php?taxonomy=iworks_fleet_serie&post_type=iworks_fleet_person | 1,332 | 2.36 | 34.35 | 27.66 |
Clubs /wp-admin/edit-tags.php?taxonomy=iworks_fleet_club&post_type=iworks_fleet_person | 1,329 | 2.52 | 33.43 | 28.32 |
Boat Number /wp-admin/edit-tags.php?taxonomy=boat_number&post_type=attachment | 1,306 | 2.13 | 25.65 | 25.61 |
Persons /wp-admin/edit.php?post_type=iworks_fleet_person | 1,161 | 2.57 | 37.88 | 27.23 |
Locations /wp-admin/edit-tags.php?taxonomy=iworks_fleet_location&post_type=iworks_fleet_person | 1,357 | 2.52 | 35.62 | 28.23 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 25% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Uninstall procedure had uncaught errors
- > Notice in wp-content/plugins/fleet/includes/iworks/options/options.php+1002
Undefined index: options
- This plugin does not fully uninstall, leaving 2 tables in the database
- wp_fleet_regatta_race
- wp_fleet_regatta
- Zombie WordPress options were found after uninstall: 7 options
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- fleet_db_version
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
- 13× 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 get_template_part() in wp-content/plugins/fleet/integration/themes/twentytwenty-5o5-child/taxonomy-iworks_fleet_serie.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/fleet/integration/themes/twentytwenty-5o5-child/functions.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_kses_post() in wp-content/plugins/fleet/includes/iworks/rate/templates/widgets/donate.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function get_template_part() in wp-content/plugins/fleet/integration/themes/twentytwenty-5o5-child/taxonomy-iworks_fleet_boat_manufacturer.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_template_part() in wp-content/plugins/fleet/integration/themes/twentytwenty-5o5-child/archive-iworks_fleet_person.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_parse_args() in wp-content/plugins/fleet/includes/iworks/rate/rate.php:69
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/fleet/includes/iworks/rate/templates/plugins/og.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/fleet/includes/iworks/rate/templates/thanks.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_kses_post() in wp-content/plugins/fleet/includes/iworks/rate/templates/widgets/support.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_template_part() in wp-content/plugins/fleet/integration/themes/twentytwenty-5o5-child/archive-iworks_fleet_result.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
7 plugin tags: result, boat, fleet, sport, team...
fleet/fleet.php Passed 13 tests
The main PHP file in "Fleet Manager" ver. 2.1.5 adds more information about the plugin and also serves as the entry point for this plugin
92 characters long description:
The sailboat manager makes it possible to manage boats, sailors, regattas and their results.
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected43,477 lines of code in 143 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 92 | 1,806 | 13 | 30,054 |
PHP | 18 | 414 | 1,708 | 8,955 |
CSS | 16 | 63 | 54 | 1,789 |
PO File | 1 | 771 | 919 | 1,755 |
JavaScript | 14 | 63 | 154 | 765 |
Sass | 1 | 8 | 0 | 138 |
JSON | 1 | 0 | 0 | 21 |
PHP code 50% from 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Please fix the following
- Cyclomatic complexity of methods has to be reduced to less than 100 (currently 192)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 134.11 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 387.00 |
Average method complexity | 5.56 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 192.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 263 | |
▷ Static methods | 1 | 0.38% |
▷ Public methods | 186 | 70.72% |
▷ Protected methods | 15 | 5.70% |
▷ Private methods | 62 | 23.57% |
Functions | 12 | |
▷ Named functions | 12 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 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
13 PNG files occupy 0.14MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/iworks/options/assets/styles/images/ui-icons_ffffff_256x240.png | 3.54KB | 3.86KB | 0.00% |
assets/externals/datepicker/css/images/ui-icons_444444_256x240.png | 6.83KB | 4.17KB | ▼ 38.86% |
assets/externals/datepicker/css/images/ui-icons_777620_256x240.png | 4.44KB | 4.17KB | ▼ 6.02% |
assets/externals/datepicker/css/images/ui-icons_cc0000_256x240.png | 4.44KB | 4.17KB | ▼ 6.02% |
assets/externals/datepicker/css/images/ui-icons_777777_256x240.png | 6.83KB | 4.17KB | ▼ 38.92% |