Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▼0.60MB] [CPU: ▼33.54ms] Passed 4 tests
This is a short check of server-side resources used by Lockets
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.82 ▲0.36 | 43.48 ▲6.15 |
Dashboard /wp-admin | 3.35 ▲0.01 | 28.65 ▼29.41 |
Posts /wp-admin/edit.php | 3.35 ▼0.00 | 24.12 ▼21.53 |
Add New Post /wp-admin/post-new.php | 3.35 ▼2.54 | 26.96 ▼74.96 |
Media Library /wp-admin/upload.php | 3.35 ▲0.12 | 24.70 ▼8.26 |
Lockets /wp-admin/admin.php?page=lockets/lockets.php | 3.35 | 24.37 |
楽天ウェブサービス /wp-admin/admin.php?page=admin_rakuten | 3.35 | 38.81 |
Google プレイス /wp-admin/admin.php?page=admin_gmap | 3.35 | 25.15 |
リクルートWEBサービス /wp-admin/admin.php?page=admin_recruit_webservice | 3.35 | 24.92 |
外部配信β /wp-admin/admin.php?page=admin_feed | 3.35 | 24.07 |
じゃらんWebサービス /wp-admin/admin.php?page=admin_jalan_webservice | 3.35 | 30.59 |
その他アフィリエイト /wp-admin/admin.php?page=admin_affiliate | 3.35 | 23.47 |
Server storage [IO: ▲0.25MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 33 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Lockets
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,856 ▲85 | 13.38 ▼0.99 | 14.59 ▲12.69 | 45.05 ▲3.55 |
Dashboard /wp-admin | 2,250 ▲58 | 5.84 ▲0.88 | 96.14 ▼12.46 | 47.54 ▲3.60 |
Posts /wp-admin/edit.php | 2,136 ▲47 | 2.05 ▲0.05 | 35.01 ▲0.33 | 42.80 ▲8.65 |
Add New Post /wp-admin/post-new.php | 1,571 ▲44 | 23.25 ▲5.03 | 649.74 ▲18.96 | 52.17 ▲1.91 |
Media Library /wp-admin/upload.php | 1,438 ▲53 | 4.26 ▲0.10 | 100.32 ▼5.52 | 52.56 ▲7.82 |
Lockets /wp-admin/admin.php?page=lockets/lockets.php | 1,498 | 9.37 | 279.29 | 156.24 |
楽天ウェブサービス /wp-admin/admin.php?page=admin_rakuten | 900 | 2.02 | 23.71 | 84.67 |
Google プレイス /wp-admin/admin.php?page=admin_gmap | 939 | 2.02 | 22.22 | 75.44 |
リクルートWEBサービス /wp-admin/admin.php?page=admin_recruit_webservice | 899 | 2.17 | 21.94 | 82.17 |
外部配信β /wp-admin/admin.php?page=admin_feed | 887 | 1.72 | 25.63 | 66.97 |
じゃらんWebサービス /wp-admin/admin.php?page=admin_jalan_webservice | 893 | 2.02 | 24.22 | 62.18 |
その他アフィリエイト /wp-admin/admin.php?page=admin_affiliate | 913 | 2.03 | 22.56 | 48.23 |
Uninstaller [IO: ▲0.00MB] [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
These items require your attention
- This plugin did not uninstall without warnings or errors
- > User deprecated in wp-includes/functions.php+5737
Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Almost there, just fix the following server-side errors
- 119 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=admin_affiliate
- > User deprecated in wp-includes/functions.php+5737
Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
- 19 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=admin_affiliate
- > User deprecated in wp-includes/functions.php+5453
Function attribute_escape is deprecated since version 2.8.0! Use esc_attr() instead.
SRP 0% 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
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/lockets/lib/remoteaddr.php
- 3× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function feed_content_type() in wp-content/plugins/lockets/feeds/lctfmt.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/lockets/lib/mediabutton.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/lockets/lib/mediabutton.php:7
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Donate link: Invalid url: ""
lockets/lockets.php 92% from 13 tests
The main PHP script in "Lockets" version 0.999 is automatically included on every request by WordPress
The following require your attention:
- Description: Please keep the plugin description shorter than 140 characters (currently 435 characters long)
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
No dangerous file extensions were detected2,358 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 16 | 445 | 251 | 2,278 |
JavaScript | 2 | 3 | 0 | 57 |
HTML | 1 | 6 | 6 | 23 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.17 |
Average class complexity | 8.50 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 18.00 |
Average method complexity | 5.50 |
▷ Minimum method complexity | 3.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 10 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 10 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 36 | |
▷ Named functions | 36 | 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
6 compressed PNG files occupy 0.04MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/powered_by_google_on_non_white_hdpi.png | 3.05KB | 3.51KB | 0.00% |
images/powered_by_google_on_white.png | 2.08KB | 2.14KB | 0.00% |
icon16.png | 0.49KB | 0.52KB | 0.00% |
images/powered_by_google_on_white_hdpi.png | 4.44KB | 3.56KB | ▼ 19.85% |
images/powered_by_google_on_non_white.png | 1.37KB | 1.97KB | 0.00% |