Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.27MB] [CPU: ▼3.21ms] 75% from 4 tests
Analyzing server-side resources used by Accordion - Multiple Accordion or FAQs Builder
The following require your attention
- CPU: Try to keep total CPU usage under 500.00ms (currently 629.98ms on /wp-admin/admin.php?page=oxi-accordions-ultimate-plugins)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.71 ▲0.25 | 36.47 ▼1.88 |
Dashboard /wp-admin | 3.63 ▲0.29 | 46.85 ▼17.86 |
Posts /wp-admin/edit.php | 3.68 ▲0.33 | 50.20 ▲3.72 |
Add New Post /wp-admin/post-new.php | 6.15 ▲0.26 | 94.06 ▲3.40 |
Media Library /wp-admin/upload.php | 3.49 ▲0.26 | 37.50 ▲3.52 |
Support /wp-admin/admin.php?page=oxi-accordions-ultimate-welcome | 3.63 | 34.47 |
Shortcode /wp-admin/admin.php?page=oxi-accordions-ultimate | 3.65 | 45.71 |
Create New /wp-admin/admin.php?page=oxi-accordions-ultimate-new | 4.14 | 45.23 |
Settings /wp-admin/admin.php?page=oxi-accordions-ultimate-settings | 3.64 | 36.31 |
Oxilab Plugins /wp-admin/admin.php?page=oxi-accordions-ultimate-plugins | 3.69 | 629.98 |
Server storage [IO: ▲7.51MB] [DB: ▲0.01MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 132 new files
Database: 3 new tables, 8 new options
New tables |
---|
wp_oxi_div_import |
wp_oxi_div_style |
wp_oxi_div_list |
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
accordions_or_faqs_activation_date |
widget_oxi_ultimate_accordions_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Accordion - Multiple Accordion or FAQs Builder
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,857 ▲95 | 14.67 ▲0.32 | 1.83 ▲0.11 | 35.75 ▼5.79 |
Dashboard /wp-admin | 2,237 ▲60 | 5.65 ▲0.02 | 93.23 ▼9.86 | 44.36 ▼0.41 |
Posts /wp-admin/edit.php | 2,145 ▲42 | 1.95 ▲0.00 | 40.01 ▼5.37 | 36.14 ▲2.91 |
Add New Post /wp-admin/post-new.php | 1,568 ▲39 | 25.10 ▲1.87 | 585.72 ▼39.04 | 65.71 ▲19.28 |
Media Library /wp-admin/upload.php | 1,442 ▲45 | 4.19 ▼0.03 | 97.89 ▼0.34 | 44.13 ▲2.63 |
Support /wp-admin/admin.php?page=oxi-accordions-ultimate-welcome | 1,549 | 8.95 | 285.83 | 165.81 |
Shortcode /wp-admin/admin.php?page=oxi-accordions-ultimate | 1,313 | 2.76 | 69.66 | 101.99 |
Create New /wp-admin/admin.php?page=oxi-accordions-ultimate-new | 4,100 | 2.38 | 42.44 | 161.69 |
Settings /wp-admin/admin.php?page=oxi-accordions-ultimate-settings | 1,200 | 2.49 | 33.16 | 43.47 |
Oxilab Plugins /wp-admin/admin.php?page=oxi-accordions-ultimate-plugins | 1,185 | 2.16 | 30.86 | 60.14 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 3 tables in the database
- wp_oxi_div_import
- wp_oxi_div_list
- wp_oxi_div_style
- Zombie WordPress options were found after uninstall: 8 options
- widget_theysaidso_widget
- widget_oxi_ultimate_accordions_widget
- widget_recent-posts
- accordions_or_faqs_activation_date
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
Smoke tests Passed 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)
Good news, no errors were detected
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
7 plugin tags: collapse, accordion plugin jquery, accordion plugin wordpress, accordion, accordion shortcode...
accordions-or-faqs/index.php 92% from 13 tests
This is the main PHP file of "Accordion - Multiple Accordion or FAQs Builder" version 2.3.5, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
The following require your attention:
- Main file name: The principal plugin file should be the same as the plugin slug ("accordions-or-faqs.php" instead of "index.php")
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
Everything looks great! No dangerous files found in this plugin40,189 lines of code in 93 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 22 | 1,017 | 788 | 11,067 |
CSS | 15 | 1,462 | 98 | 10,809 |
PHP | 25 | 830 | 1,222 | 9,396 |
SVG | 3 | 0 | 12 | 8,889 |
JSON | 28 | 0 | 0 | 28 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 33.41 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 367.00 |
Average method complexity | 3.58 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 34.00 |
Code structure | ||
---|---|---|
Namespaces | 5 | |
Interfaces | 0 | |
Traits | 4 | |
Classes | 18 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 18 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 276 | |
▷ Static methods | 5 | 1.81% |
▷ Public methods | 273 | 98.91% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 1.09% |
Functions | 6 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 6 | 100.00% |
Constants | 55 | |
▷ Global constants | 7 | 12.73% |
▷ Class constants | 48 | 87.27% |
▷ Public constants | 48 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
23 PNG files occupy 0.11MB with 0.07MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/backend/img/icons/demo.png | 2.34KB | 0.30KB | ▼ 86.96% |
assets/backend/img/icons/custom.png | 1.67KB | 0.80KB | ▼ 51.91% |
assets/backend/img/icons/arrow.png | 1.62KB | 0.53KB | ▼ 67.43% |
assets/backend/img/icons/hand.png | 1.76KB | 0.72KB | ▼ 59.06% |
assets/backend/img/icons/angle-double-up.png | 1.88KB | 0.59KB | ▼ 68.64% |