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.02MB] [CPU: ▼6.71ms] Passed 4 tests
A check of server-side resources used by jQuery Accordion Category Posts
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 44.44 ▲1.96 |
Dashboard /wp-admin | 3.33 ▲0.02 | 42.51 ▼11.93 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 40.29 ▼8.60 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 81.97 ▼7.94 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 33.99 ▲1.63 |
jQuery Accordion Categories /wp-admin/options-general.php?page=nnr-options | 3.21 | 27.88 |
Server storage [IO: ▲1.01MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 49 new files
Database: no new tables, 8 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
nnr_numcat |
widget_recent-comments |
theysaidso_admin_options |
nnr_numpost |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by jQuery Accordion Category Posts
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,929 ▲168 | 13.90 ▼0.38 | 14.42 ▲12.66 | 37.97 ▼0.07 |
Dashboard /wp-admin | 2,202 ▲21 | 5.54 ▼0.16 | 87.65 ▼15.98 | 36.06 ▼2.62 |
Posts /wp-admin/edit.php | 2,101 ▼2 | 1.99 ▼0.05 | 37.06 ▼0.94 | 31.49 ▼3.54 |
Add New Post /wp-admin/post-new.php | 1,531 ▲2 | 22.91 ▼0.28 | 611.60 ▼3.98 | 56.31 ▼22.05 |
Media Library /wp-admin/upload.php | 1,404 ▲1 | 4.20 ▲0.07 | 96.14 ▼3.98 | 43.42 ▼0.22 |
jQuery Accordion Categories /wp-admin/options-general.php?page=nnr-options | 804 | 2.00 | 23.94 | 24.40 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- db_upgraded
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
Even though no errors were found, 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× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/jquery-accordion-category-posts/jquery-accordion-category-posts.php:18
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that require attention:
- Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line (
=== jquery-accordion-category-posts ===
) - Screenshots: These screenshots have no corresponding images in /assets: #1 (This screen shot description corresponds to screenshot-1.(png|jpg|jpeg|gif). Note that the screenshot is taken from), #2 (This is the second screen shot)
jquery-accordion-category-posts/jquery-accordion-category-posts.php Passed 13 tests
"jQuery Accordion Category Posts" version 2.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
66 characters long description:
A simple post listing by category widget usign jQuery UI Accordion
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin22,606 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 9 | 5,354 | 4,186 | 21,822 |
CSS | 7 | 55 | 148 | 689 |
PHP | 1 | 24 | 19 | 95 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.11 |
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 | 7 | |
▷ Named functions | 7 | 100.00% |
▷ Anonymous functions | 0 | 0.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
PNG files should be compressed to save space and minimize bandwidth usage
27 compressed PNG files occupy 0.05MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
jqueryui/themes/ui-lightness/images/ui-bg_flat_10_000000_40x100.png | 0.17KB | 0.08KB | ▼ 51.12% |
jqueryui/themes/base/images/ui-icons_cd0a0a_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
jqueryui/themes/base/images/ui-icons_454545_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
jqueryui/themes/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png | 0.13KB | 0.18KB | 0.00% |
jqueryui/themes/base/images/ui-icons_888888_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |