Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.07MB] [CPU: ▼1.28ms] Passed 4 tests
Analyzing server-side resources used by Ultimate Accordion
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 41.71 ▲5.71 |
Dashboard /wp-admin | 3.38 ▲0.08 | 44.45 ▼3.43 |
Posts /wp-admin/edit.php | 3.43 ▲0.07 | 45.78 ▼4.58 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 90.70 ▼0.17 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 35.23 ▲3.08 |
Accordion Item Category /wp-admin/edit-tags.php?taxonomy=accordion_cat&post_type=accordion-item | 3.30 | 33.29 |
All Accordion Items /wp-admin/edit.php?post_type=accordion-item | 3.34 | 33.53 |
Add New Accordion Item /wp-admin/post-new.php?post_type=accordion-item | 3.43 | 48.34 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Ultimate Accordion
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,917 ▲182 | 13.56 ▼0.87 | 9.09 ▲7.41 | 44.42 ▲1.24 |
Dashboard /wp-admin | 2,237 ▲49 | 5.82 ▲0.91 | 99.20 ▼0.29 | 39.84 ▼3.15 |
Posts /wp-admin/edit.php | 2,120 ▲31 | 2.02 ▲0.01 | 34.05 ▼7.37 | 33.47 ▼2.34 |
Add New Post /wp-admin/post-new.php | 1,568 ▲33 | 18.17 ▼4.95 | 603.24 ▼87.76 | 48.95 ▼4.29 |
Media Library /wp-admin/upload.php | 1,419 ▲31 | 4.21 ▲0.04 | 94.61 ▼13.95 | 43.64 ▼1.19 |
Accordion Item Category /wp-admin/edit-tags.php?taxonomy=accordion_cat&post_type=accordion-item | 1,290 | 2.14 | 25.33 | 29.31 |
All Accordion Items /wp-admin/edit.php?post_type=accordion-item | 1,101 | 1.95 | 30.07 | 30.34 |
Add New Accordion Item /wp-admin/post-new.php?post_type=accordion-item | 2,284 | 7.69 | 162.28 | 63.34 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
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
Almost there! Just fix the following items
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Warning
Use of undefined constant WP_PLUGIN_URL - assumed 'WP_PLUGIN_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/ultimate-accordion/ultimate_accordion_main.php on line 11
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/ultimate-accordion/ultimate_accordion_main.php:11
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 81% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that require attention:
- Screenshots: Please add images for these screenshots: #1 (Demo Screenshots 1.), #2 (Demo Screenshots 2.), #3 (admin panel plugin option.)
- Contributors: Contributors not specified
- Tags: Please reduce the number of tags, currently 35 tag instead of maximum 10
ultimate-accordion/ultimate_accordion_main.php 85% from 13 tests
"Ultimate Accordion" version 1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 155 characters long)
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("ultimate-accordion.php" instead of "ultimate_accordion_main.php")
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
Success! There were no dangerous files found in this plugin683 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 1 | 8 | 14 | 361 |
PHP | 1 | 19 | 44 | 313 |
JavaScript | 1 | 0 | 1 | 9 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.08 |
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 | 10 | |
▷ Named functions | 10 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin