Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼6.00ms] Passed 4 tests
Server-side resources used by Test jQuery Updates
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 37.65 ▼2.60 |
Dashboard /wp-admin | 3.36 ▲0.01 | 45.89 ▼10.92 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 46.91 ▲1.32 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 83.52 ▼11.81 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 33.72 ▲1.91 |
Test jQuery Updates /wp-admin/plugins.php?page=wp-jquery-update-test | 3.24 | 28.30 |
Server storage [IO: ▲0.13MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Test jQuery Updates
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 13.24 ▼1.12 | 1.84 ▼0.16 | 43.52 ▼8.38 |
Dashboard /wp-admin | 2,210 ▲28 | 4.86 ▼0.93 | 103.65 ▲1.21 | 41.96 ▼1.59 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.14 ▲0.11 | 34.81 ▼0.45 | 32.54 ▼3.95 |
Add New Post /wp-admin/post-new.php | 1,536 ▲3 | 23.36 ▲0.07 | 626.96 ▼72.34 | 53.36 ▲1.69 |
Media Library /wp-admin/upload.php | 1,389 ▲4 | 4.18 ▼0.05 | 95.99 ▼8.11 | 43.29 ▲2.44 |
Test jQuery Updates /wp-admin/plugins.php?page=wp-jquery-update-test | 767 | 2.02 | 24.56 | 26.41 |
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
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
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 everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
- 2× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/wp-jquery-update-test/wp-jquery-update-test.php
- > /wp-content/plugins/wp-jquery-update-test/class_wp_jquery_update_test.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
1 plugin tags: jquery
wp-jquery-update-test/wp-jquery-update-test.php 92% from 13 tests
This is the main PHP file of "Test jQuery Updates" version 2.0.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
You should first fix the following items:
- Requires at least: Required version number should use periods and dots only (ex. "7.0" instead of "5.6-alpha")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin801 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 123 | 96 | 539 |
PHP | 2 | 64 | 43 | 262 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 23.00 |
▷ Minimum class complexity | 23.00 |
▷ Maximum class complexity | 23.00 |
Average method complexity | 2.83 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 12 | |
▷ Static methods | 11 | 91.67% |
▷ Public methods | 9 | 75.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 25.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin