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.04MB] [CPU: ▼2.41ms] Passed 4 tests
Server-side resources used by Smart Accordion
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.06 | 43.54 ▲3.51 |
Dashboard /wp-admin | 3.36 ▲0.01 | 45.89 ▼13.64 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 44.25 ▼1.62 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.08 | 88.07 ▲3.43 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 38.08 ▲2.19 |
All Shortcode /wp-admin/edit.php?post_type=sfaccordioncode | 3.32 | 40.37 |
Add New Accordion /wp-admin/post-new.php?post_type=smartaccordion | 3.42 | 55.34 |
All Accordion /wp-admin/edit.php?post_type=smartaccordion | 3.28 | 39.55 |
Accordion Categories /wp-admin/edit-tags.php?taxonomy=smartaccordion-tax&post_type=smartaccordion | 3.28 | 34.99 |
Create Shortcode /wp-admin/post-new.php?post_type=sfaccordioncode | 3.33 | 47.95 |
Server storage [IO: ▲1.50MB] [DB: ▲0.77MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 30 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
Smart Accordion: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 7,620 ▲4,873 | 14.85 ▲0.51 | 5.73 ▲3.91 | 44.13 ▼0.71 |
Dashboard /wp-admin | 6,938 ▲4,760 | 6.05 ▲0.35 | 138.37 ▲24.11 | 42.67 ▲3.51 |
Posts /wp-admin/edit.php | 6,848 ▲4,745 | 2.25 ▲0.23 | 85.00 ▲45.70 | 35.76 ▲1.27 |
Add New Post /wp-admin/post-new.php | 3,928 ▲2,392 | 23.75 ▲0.41 | 724.23 ▲19.22 | 34.59 ▼9.40 |
Media Library /wp-admin/upload.php | 6,137 ▲4,737 | 4.06 ▼0.14 | 138.32 ▲32.52 | 44.01 ▼1.53 |
All Shortcode /wp-admin/edit.php?post_type=sfaccordioncode | 5,809 | 2.18 | 90.77 | 29.60 |
Add New Accordion /wp-admin/post-new.php?post_type=smartaccordion | 6,975 | 7.52 | 229.72 | 66.96 |
All Accordion /wp-admin/edit.php?post_type=smartaccordion | 5,820 | 2.14 | 77.50 | 29.25 |
Accordion Categories /wp-admin/edit-tags.php?taxonomy=smartaccordion-tax&post_type=smartaccordion | 6,025 | 2.76 | 71.41 | 29.14 |
Create Shortcode /wp-admin/post-new.php?post_type=sfaccordioncode | 7,548 | 4.62 | 129.07 | 40.54 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.77MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These server-side errors were triggered
- > GET request to /wp-admin/edit.php?post_type=smartaccordion
- > Notice in wp-content/plugins/smart-accordion/libs/post-types/smart-accordion-post-type.php+103
Undefined index: order
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/smart-accordion/smart-accordion.php
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 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
5 plugin tags: accordion, question, faq, accordion plugin, responsive accordions
smart-accordion/smart-accordion.php 92% from 13 tests
The principal PHP file in "Smart Accordion" v. 1.4 is loaded by WordPress automatically on each request
The following require your attention:
- Description: Keep the plugin description shorter than 140 characters (currently 149 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected1,964 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 163 | 68 | 908 |
SVG | 1 | 0 | 0 | 565 |
JavaScript | 4 | 112 | 234 | 278 |
CSS | 4 | 4 | 17 | 213 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin