Benchmarks
Plugin footprint 65% 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: ▼1.79MB] [CPU: ▼57.34ms] Passed 4 tests
Server-side resources used by WP Scripts Updater
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.21 ▼1.26 | 5.27 ▼40.34 |
Dashboard /wp-admin | 2.23 ▼1.08 | 6.36 ▼47.79 |
Posts /wp-admin/edit.php | 2.23 ▼1.13 | 5.90 ▼50.13 |
Add New Post /wp-admin/post-new.php | 2.23 ▼3.66 | 6.94 ▼91.11 |
Media Library /wp-admin/upload.php | 2.23 ▼1.01 | 7.31 ▼31.93 |
Server storage [IO: ▲1.29MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 169 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for WP Scripts Updater
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,917 ▲117 | 13.67 ▲0.39 | 8.61 ▲6.33 | 39.39 ▼4.38 |
Dashboard /wp-admin | 2,209 ▲3 | 4.91 ▲0.05 | 104.21 ▼3.80 | 40.53 ▼2.77 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 2.05 ▲0.06 | 37.83 ▼7.72 | 34.81 ▼5.40 |
Add New Post /wp-admin/post-new.php | 1,533 ▲13 | 23.42 ▲0.25 | 593.80 ▼59.53 | 52.51 ▼0.02 |
Media Library /wp-admin/upload.php | 1,391 ▲6 | 4.11 ▼0.06 | 107.48 ▲5.13 | 55.07 ▲11.49 |
Uninstaller [IO: ✅] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- The plugin did not uninstall gracefully
- > User notice in wp-includes/functions.php+5905
Function wp_deregister_style was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the genericons handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
Smoke tests Passed 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 Passed 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
7 plugin tags: jquery, update, html5, css3, wordpress...
wp-scripts-updater/wp-scripts-updater.php Passed 13 tests
"WP Scripts Updater" version 0.1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
63 characters long description:
Update Wordpress scripts and add some new by using this plugin.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected1,037 lines of code in 139 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 131 | 91 | 561 | 679 |
PHP | 1 | 78 | 167 | 247 |
SVG | 1 | 0 | 0 | 105 |
CSS | 6 | 2 | 25 | 6 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.06 |
Average class complexity | 9.00 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 9.00 |
Average method complexity | 1.73 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.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 | 11 | |
▷ Static methods | 1 | 9.09% |
▷ Public methods | 11 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
Using a strong compression for your PNG files is a great way to speed-up your plugin
17 compressed PNG files occupy 0.03MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
css/jquery/ui/themes/base/images/ui-bg_highlight-soft_75_cccccc_1x100.png | 0.10KB | 0.17KB | 0.00% |
css/jquery/ui/themes/base/images/ui-icons_888888_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
css/jquery/ui/themes/base/images/ui-bg_flat_0_aaaaaa_40x100.png | 0.18KB | 0.08KB | ▼ 51.67% |
css/jquery/mobile/images/icons-36-black.png | 3.77KB | 4.09KB | 0.00% |
css/jquery/mobile/images/icons-36-white.png | 3.77KB | 4.11KB | 0.00% |