Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.66MB] [CPU: ▲2.32ms] Passed 4 tests
An overview of server-side resources used by Fullscreen Menu
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.11 ▲0.65 | 52.20 ▲6.48 |
Dashboard /wp-admin | 3.99 ▲0.69 | 59.43 ▲8.61 |
Posts /wp-admin/edit.php | 4.04 ▲0.68 | 51.81 ▲2.07 |
Add New Post /wp-admin/post-new.php | 6.52 ▲0.64 | 91.72 ▼7.87 |
Media Library /wp-admin/upload.php | 3.92 ▲0.69 | 44.22 ▲12.86 |
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius | 4.27 | 40.04 |
Server storage [IO: ▲9.83MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 671 new files
Database: no new tables, 9 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
fs_accounts |
widget_recent-comments |
fs_active_plugins |
db_upgraded |
widget_recent-posts |
fs_debug_mode |
Browser metrics Passed 4 tests
A check of browser resources used by Fullscreen Menu
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,839 ▲67 | 14.35 ▼0.27 | 1.94 ▲0.09 | 29.76 ▼18.05 |
Dashboard /wp-admin | 2,241 ▲61 | 5.71 ▲0.08 | 95.65 ▼3.15 | 44.46 ▲0.77 |
Posts /wp-admin/edit.php | 2,147 ▲47 | 2.01 ▲0.06 | 38.06 ▼0.61 | 37.54 ▲5.89 |
Add New Post /wp-admin/post-new.php | 1,563 ▲37 | 23.21 ▲0.27 | 701.91 ▲63.21 | 35.17 ▼25.57 |
Media Library /wp-admin/upload.php | 1,449 ▲58 | 4.30 ▲0.06 | 96.00 ▼4.53 | 44.41 ▲0.74 |
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius | 1,111 | 1.78 | 25.84 | 29.00 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- The plugin did not uninstall gracefully
- > Notice in wp-content/plugins/animated-fullscreen-menu/uninstall.php+12
Trying to access array offset on value of type bool
- This plugin does not fully uninstall, leaving 9 options in the database
- theysaidso_admin_options
- widget_recent-comments
- fs_debug_mode
- db_upgraded
- can_compress_scripts
- fs_accounts
- fs_active_plugins
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/animated-fullscreen-menu/vendor/CMB2/apigen/hook-docs.php
- 46× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'CMB2_REST_Controller_Boxes' not found in wp-content/plugins/animated-fullscreen-menu/vendor/CMB2/includes/rest-api/CMB2_REST_Controller_Fields.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/animated-fullscreen-menu/vendor/CMB2/example-functions.php:105
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/animated-fullscreen-menu/vendor/CMB2/includes/helper-functions.php:131
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Taxonomy_Radio' not found in wp-content/plugins/animated-fullscreen-menu/vendor/CMB2/includes/types/CMB2_Type_Taxonomy_Radio_Hierarchical.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_File_Base' not found in wp-content/plugins/animated-fullscreen-menu/vendor/CMB2/includes/types/CMB2_Type_File.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Base' not found in wp-content/plugins/animated-fullscreen-menu/vendor/CMB2/includes/types/CMB2_Type_Text_Datetime_Timestamp_Timezone.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Picker_Base' not found in wp-content/plugins/animated-fullscreen-menu/vendor/CMB2/includes/types/CMB2_Type_Text_Datetime_Timestamp.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/animated-fullscreen-menu/frontend-animatedfsmenu.php:4
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Multi_Base' not found in wp-content/plugins/animated-fullscreen-menu/vendor/CMB2/includes/types/CMB2_Type_Select.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Counter_Base' not found in wp-content/plugins/animated-fullscreen-menu/vendor/CMB2/includes/types/CMB2_Type_Textarea.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration 93% from 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
6 plugin tags: animatedmenu, menu, fullscreenmenu, mobilemenu, woocommercemenu...
animated-fullscreen-menu/animated-fullscreen-menu.php 85% from 13 tests
This is the main PHP file of "Fullscreen Menu" version 2.6.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
You should first fix the following items:
- Description: Please don't use more than 140 characters for the plugin description (currently 197 characters long)
- Git Repository: Please do not include Git repositories in your plugin
Code Analysis 97% from 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
There were no executable files found in this plugin110,495 lines of code in 421 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 188 | 10,646 | 24,073 | 44,899 |
PO File | 120 | 14,315 | 18,502 | 32,323 |
JSON | 12 | 0 | 0 | 11,505 |
CSS | 38 | 376 | 1,314 | 7,618 |
XML | 2 | 0 | 0 | 4,498 |
JavaScript | 26 | 673 | 942 | 3,312 |
SVG | 2 | 0 | 0 | 2,690 |
Sass | 18 | 375 | 30 | 2,117 |
Markdown | 11 | 420 | 0 | 1,327 |
YAML | 4 | 16 | 6 | 206 |
PHP code 50% from 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Please tend to the following items
- Please reduce cyclomatic complexity of classes to less than 1000 (currently 3,073)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.60 |
Average class complexity | 48.88 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,073.00 |
Average method complexity | 4.22 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 94.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 121 | |
▷ Abstract classes | 11 | 9.09% |
▷ Concrete classes | 110 | 90.91% |
▷ Final classes | 0 | 0.00% |
Methods | 1,831 | |
▷ Static methods | 295 | 16.11% |
▷ Public methods | 1,345 | 73.46% |
▷ Protected methods | 109 | 5.95% |
▷ Private methods | 377 | 20.59% |
Functions | 163 | |
▷ Named functions | 163 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 159 | |
▷ Global constants | 101 | 63.52% |
▷ Class constants | 58 | 36.48% |
▷ Public constants | 58 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
26 PNG files occupy 0.08MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
vendor/CMB2/images/ui-bg_glass_95_fef1ec_1x400.png | 0.12KB | 0.14KB | 0.00% |
vendor/CMB2/apigen/theme-bootstrap/src/resources/resize.png | 0.12KB | 0.10KB | ▼ 13.22% |
vendor/CMB2/apigen/theme-bootstrap/src/resources/inherit.png | 0.15KB | 0.10KB | ▼ 29.61% |
vendor/CMB2/apigen/theme-bootstrap/src/resources/collapsed.png | 0.24KB | 0.14KB | ▼ 41.77% |
vendor/CMB2/images/ui-bg_glass_75_dadada_1x400.png | 0.11KB | 0.16KB | 0.00% |