Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.10MB] [CPU: ▼2.41ms] Passed 4 tests
This is a short check of server-side resources used by Everything Accordion
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.13 | 44.15 ▲0.50 |
Dashboard /wp-admin | 3.41 ▲0.10 | 45.01 ▼1.39 |
Posts /wp-admin/edit.php | 3.46 ▲0.10 | 46.89 ▲0.55 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 84.06 ▼9.29 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 36.83 ▲1.33 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 6 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
widget_evac_everything_accordion |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Everything Accordion
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,913 ▲178 | 13.80 ▼0.57 | 5.95 ▲3.84 | 38.52 ▼12.63 |
Dashboard /wp-admin | 2,209 ▲18 | 4.89 ▼0.02 | 118.43 ▲12.15 | 44.81 ▼1.56 |
Posts /wp-admin/edit.php | 2,086 ▼3 | 2.02 ▲0.00 | 39.10 ▲1.54 | 36.09 ▼0.54 |
Add New Post /wp-admin/post-new.php | 1,543 ▲24 | 18.44 ▼4.50 | 615.79 ▼44.33 | 53.72 ▲0.39 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.20 ▼0.00 | 102.23 ▲2.41 | 40.66 ▼2.42 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- Zombie WordPress options were found after uninstall: 7 options
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- widget_evac_everything_accordion
- theysaidso_admin_options
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 items
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/everything-accordion/everything-accordion.php:27
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need your attention:
- Tested up to: Version not formatted correctly
everything-accordion/everything-accordion.php Passed 13 tests
The main PHP file in "Everything Accordion" ver. 1.0 adds more information about the plugin and also serves as the entry point for this plugin
113 characters long description:
The Everything Accordion is a simple widget that shows wordpress widgets, posts and pages in an pretty accordion.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected446 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 12 | 54 | 361 |
CSS | 1 | 4 | 0 | 79 |
JavaScript | 1 | 0 | 0 | 5 |
HTML | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
An short overview of 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.34 |
Average class complexity | 88.00 |
▷ Minimum class complexity | 88.00 |
▷ Maximum class complexity | 88.00 |
Average method complexity | 11.88 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 39.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 8 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 8 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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