Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.14MB] [CPU: ▼3.44ms] Passed 4 tests
An overview of server-side resources used by Accordion for WordPress - Accordion, FAQ, Tabs Shortcode and Widgets
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.15 | 34.09 ▼7.60 |
Dashboard /wp-admin | 3.44 ▲0.14 | 47.56 ▼8.31 |
Posts /wp-admin/edit.php | 3.55 ▲0.20 | 50.60 ▲2.30 |
Add New Post /wp-admin/post-new.php | 6.04 ▲0.15 | 83.76 ▼0.13 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 38.67 ▲6.34 |
Accordion group /wp-admin/edit-tags.php?taxonomy=accordion-group&post_type=accordion-for-wp | 3.36 | 36.19 |
Shortcode Generator /wp-admin/edit.php?post_type=accordion-for-wp&page=afwp-shortcode-generator | 3.33 | 28.38 |
All Tabs /wp-admin/edit.php?post_type=afwp-tabs | 3.40 | 35.33 |
All Accordions /wp-admin/edit.php?post_type=accordion-for-wp | 3.40 | 30.65 |
Add New /wp-admin/post-new.php?post_type=accordion-for-wp | 3.51 | 52.48 |
Server storage [IO: ▲1.50MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 68 new files
Database: no new tables, 11 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
widget_afwp_accordion_nav_menu |
widget_theysaidso_widget |
widget_afwp_tab_widget |
widget_afwp_term_tab_widget |
db_upgraded |
widget_afwp_term_accordion_widget |
can_compress_scripts |
widget_afwp_accordion_widget |
... |
Browser metrics Passed 4 tests
A check of browser resources used by Accordion for WordPress - Accordion, FAQ, Tabs Shortcode and Widgets
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,962 ▲205 | 14.24 ▼0.15 | 6.44 ▲4.10 | 38.28 ▼11.68 |
Dashboard /wp-admin | 2,271 ▲83 | 5.19 ▼0.71 | 116.62 ▲4.29 | 41.22 ▼4.26 |
Posts /wp-admin/edit.php | 2,165 ▲76 | 2.38 ▲0.37 | 42.13 ▲6.00 | 35.67 ▲0.29 |
Add New Post /wp-admin/post-new.php | 1,575 ▲42 | 23.60 ▲0.52 | 689.95 ▲3.79 | 36.67 ▼28.04 |
Media Library /wp-admin/upload.php | 1,459 ▲68 | 4.45 ▲0.19 | 99.06 ▼1.86 | 43.43 ▼3.88 |
Accordion group /wp-admin/edit-tags.php?taxonomy=accordion-group&post_type=accordion-for-wp | 1,406 | 2.13 | 33.17 | 28.19 |
Shortcode Generator /wp-admin/edit.php?post_type=accordion-for-wp&page=afwp-shortcode-generator | 11,403 | 4.59 | 183.90 | 39.96 |
All Tabs /wp-admin/edit.php?post_type=afwp-tabs | 1,201 | 2.33 | 34.78 | 30.71 |
All Accordions /wp-admin/edit.php?post_type=accordion-for-wp | 1,188 | 2.33 | 33.29 | 28.84 |
Add New /wp-admin/post-new.php?post_type=accordion-for-wp | 2,643 | 8.15 | 168.92 | 64.35 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- Zombie WordPress options were found after uninstall: 11 options
- widget_recent-comments
- widget_recent-posts
- widget_afwp_term_accordion_widget
- widget_theysaidso_widget
- widget_afwp_accordion_nav_menu
- widget_afwp_tab_widget
- widget_afwp_term_tab_widget
- can_compress_scripts
- theysaidso_admin_options
- widget_afwp_accordion_widget
- ...
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP 0% 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
The following issues need your attention
- 3× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/accordion-for-wp/includes/shortcodes/index.php
- > /wp-content/plugins/accordion-for-wp/includes/widgets/index.php
- > /wp-content/plugins/accordion-for-wp/includes/posttype/index.php
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/accordion-for-wp/includes/optionpage/class-afwp-settings-page.php:244
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/accordion-for-wp/includes/optionpage/class-afwp-shortcode-generator.php:386
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There are user-side issues you should fix
- > GET request to /wp-admin/edit.php?post_type=accordion-for-wp&page=afwp-shortcode-generator
- > Network (severe)
https://demo.themeegg.com/themes/eggnews/wp-content/themes/eggnews/screenshot.png - Failed to load resource: net::ERR_NAME_NOT_RESOLVED
- > GET request to /wp-admin/edit.php?post_type=accordion-for-wp&page=afwp-shortcode-generator
- > Network (severe)
https://demo.themeegg.com/themes/miteri/wp-content/themes/miteri/screenshot.png - Failed to load resource: net::ERR_NAME_NOT_RESOLVED
- > GET request to /wp-admin/edit.php?post_type=accordion-for-wp&page=afwp-shortcode-generator
- > Network (severe)
https://demo.themeegg.com/themes/education-master/wp-content/themes/education-master/screenshot.png - Failed to load resource: net::ERR_NAME_NOT_RESOLVED
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
- Screenshots: Please add descriptions for these screenshots #10, #11, #6, #7, #8, #9 in accordion-for-wp/assets to your readme.txt
- Tags: There are too many tags (24 tag instead of maximum 10)
accordion-for-wp/accordion-for-wp.php Passed 13 tests
"Accordion for WordPress - Accordion, FAQ, Tabs Shortcode and Widgets" version 1.3.4's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
77 characters long description:
Accordion for wordpress widgets and shortcode plugin with multiple templates.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
No dangerous file extensions were detected10,845 lines of code in 53 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 30 | 745 | 1,119 | 3,337 |
CSS | 6 | 70 | 86 | 3,013 |
SVG | 1 | 0 | 0 | 2,671 |
JavaScript | 4 | 102 | 1 | 1,331 |
Sass | 12 | 45 | 0 | 493 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 18.82 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 79.00 |
Average method complexity | 3.68 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 36.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 22 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 22 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 146 | |
▷ Static methods | 2 | 1.37% |
▷ Public methods | 139 | 95.21% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 7 | 4.79% |
Functions | 15 | |
▷ Named functions | 15 | 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
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin