Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.58MB] [CPU: ▲1.23ms] Passed 4 tests
This is a short check of server-side resources used by Bellows Accordion Menu
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.03 ▲0.57 | 52.45 ▲12.76 |
Dashboard /wp-admin | 3.89 ▲0.58 | 51.93 ▼3.08 |
Posts /wp-admin/edit.php | 3.94 ▲0.58 | 58.00 ▲7.06 |
Add New Post /wp-admin/post-new.php | 6.47 ▲0.58 | 102.77 ▼1.42 |
Media Library /wp-admin/upload.php | 3.81 ▲0.58 | 40.10 ▲2.35 |
Bellows Menu /wp-admin/themes.php?page=bellows-settings | 3.81 | 41.84 |
Server storage [IO: ▲1.60MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 44 new files
Database: no new tables, 9 new options
New WordPress options |
---|
bellows_general |
bellows_main |
widget_bellows_navigation_widget |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
Bellows Accordion Menu: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,911 ▲150 | 14.10 ▼0.32 | 6.51 ▲4.88 | 43.42 ▼2.16 |
Dashboard /wp-admin | 2,225 ▲25 | 4.88 ▲0.02 | 105.27 ▼0.66 | 40.16 ▼1.35 |
Posts /wp-admin/edit.php | 2,107 ▲10 | 2.00 ▲0.00 | 39.21 ▲3.48 | 35.86 ▼1.65 |
Add New Post /wp-admin/post-new.php | 1,544 ▼0 | 23.61 ▲0.44 | 656.47 ▲9.30 | 50.29 ▼6.94 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.13 ▼0.10 | 100.44 ▼1.43 | 44.94 ▼2.80 |
Bellows Menu /wp-admin/themes.php?page=bellows-settings | 1,542 | 3.68 | 56.56 | 90.56 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie WordPress options detected upon uninstall: 9 options
- widget_bellows_navigation_widget
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- bellows_main
- bellows_general
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following
- 23× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Warning
Use of undefined constant BELLOWS_DIR - assumed 'BELLOWS_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/bellows-accordion-menu/includes/functions.php on line 3
- > PHP Fatal error
Uncaught Error: Class 'Walker_Nav_Menu' not found in wp-content/plugins/bellows-accordion-menu/includes/BellowsWalker.class.php:9
- > PHP Warning
Use of undefined constant BELLOWS_DIR - assumed 'BELLOWS_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/bellows-accordion-menu/admin/admin.php on line 3
- > PHP Fatal error
require_once(): Failed opening required 'BELLOWS_DIRincludes/asset.loader.php' (include_path='.:/usr/share/php') in wp-content/plugins/bellows-accordion-menu/includes/functions.php on line 3
- > PHP Warning
A non-numeric value encountered in wp-content/plugins/bellows-accordion-menu/Bellows.class.php on line 73
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/bellows-accordion-menu/includes/bellows.api.php:42
- > PHP Fatal error
require_once(): Failed opening required 'BELLOWS_DIRincludes/BellowsWalker.class.php' (include_path='.:/usr/share/php') in wp-content/plugins/bellows-accordion-menu/Bellows.class.php on line 87
- > PHP Warning
Use of undefined constant BELLOWS_DIR - assumed 'BELLOWS_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/bellows-accordion-menu/customizer/customizer.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bellows-accordion-menu/includes/skins.php:17
- > PHP Warning
require_once(BELLOWS_DIRincludes/BellowsWalker.class.php): failed to open stream: No such file or directory in wp-content/plugins/bellows-accordion-menu/Bellows.class.php on line 87
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that require attention:
- Tags: Too many tags (12 tag instead of maximum 10); only the first 5 tags are used in your directory listing
- Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line (
=== bellows-accordion-menu ===
)
bellows-accordion-menu/bellows-accordion-menu.php 92% from 13 tests
"Bellows Accordion Menu" version 1.4.2's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please make the necessary changes and fix the following:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected22,980 lines of code in 37 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 1 | 0 | 0 | 14,244 |
CSS | 8 | 85 | 41 | 3,939 |
PHP | 20 | 1,138 | 819 | 2,837 |
JavaScript | 3 | 286 | 297 | 969 |
SVG | 1 | 0 | 0 | 640 |
LESS | 4 | 34 | 18 | 351 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 47.60 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 95.00 |
Average method complexity | 4.10 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 82.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 1 | 20.00% |
Methods | 72 | |
▷ Static methods | 2 | 2.78% |
▷ Public methods | 69 | 95.83% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 4.17% |
Functions | 114 | |
▷ Named functions | 113 | 99.12% |
▷ Anonymous functions | 1 | 0.88% |
Constants | 24 | |
▷ Global constants | 24 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected