Benchmarks
Plugin footprint 83% 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: ▼0.48MB] [CPU: ▼15.63ms] Passed 4 tests
An overview of server-side resources used by king_IE
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.67 ▲0.20 | 43.29 ▼0.90 |
Dashboard /wp-admin | 3.50 ▲0.20 | 55.04 ▲0.39 |
Posts /wp-admin/edit.php | 3.64 ▲0.28 | 55.45 ▲3.29 |
Add New Post /wp-admin/post-new.php | 3.38 ▼2.51 | 40.13 ▼58.96 |
Media Library /wp-admin/upload.php | 3.40 ▲0.17 | 33.03 ▼3.03 |
Server storage [IO: ▲3.88MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 51 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for king_IE
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,950 ▲150 | 14.71 ▲0.28 | 1.88 ▲0.07 | 40.65 ▼10.63 |
Dashboard /wp-admin | 2,341 ▲135 | 6.47 ▲1.61 | 135.45 ▲23.35 | 82.19 ▲38.82 |
Posts /wp-admin/edit.php | 2,265 ▲176 | 3.36 ▲1.35 | 54.73 ▲16.26 | 70.13 ▲37.90 |
Add New Post /wp-admin/post-new.php | 1,541 ▲27 | 23.05 ▲5.55 | 737.67 ▲76.43 | 83.43 ▲25.90 |
Media Library /wp-admin/upload.php | 1,404 ▲13 | 4.11 ▼0.01 | 79.49 ▼20.34 | 79.06 ▲31.26 |
Uninstaller [IO: ✅] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
4 plugin tags: svg, creating icons, image making, image
king-ie/king_IE.php 85% from 13 tests
The entry point to "king_IE" version 1.0 is a PHP file that has certain tags in its header comment area
The following require your attention:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("king-ie.php" instead of "king_IE.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
Good job! No executable or dangerous file extensions detected16,664 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 3 | 683 | 8,026 | 13,460 |
CSS | 2 | 128 | 96 | 2,011 |
PHP | 1 | 132 | 49 | 759 |
SVG | 5 | 0 | 1 | 246 |
PO File | 1 | 87 | 95 | 184 |
XML | 1 | 0 | 0 | 4 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.17 |
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 | 21 | |
▷ Named functions | 18 | 85.71% |
▷ Anonymous functions | 3 | 14.29% |
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
All PNG images should be compressed to minimize bandwidth usage for end users
5 PNG files occupy 0.18MB with 0.12MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/banner-772x250.png | 65.70KB | 20.08KB | ▼ 69.44% |
assets/banner-1544x500.png | 94.51KB | 27.90KB | ▼ 70.48% |
assets/icon-256x256.png | 11.39KB | 4.21KB | ▼ 63.05% |
icon.png | 7.30KB | 2.85KB | ▼ 60.92% |
assets/icon-128x128.png | 9.34KB | 3.79KB | ▼ 59.44% |