Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼2.66ms] Passed 4 tests
Analyzing server-side resources used by King Grabber
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 42.60 ▲4.39 |
Dashboard /wp-admin | 3.38 ▲0.08 | 48.65 ▼0.41 |
Posts /wp-admin/edit.php | 3.49 ▲0.14 | 46.39 ▼1.43 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 85.38 ▼13.20 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 39.47 ▲5.97 |
Multi Grabber /wp-admin/admin.php?page=ktg_tools | 3.28 | 33.81 |
Settings /wp-admin/admin.php?page=ktg_settings | 3.27 | 30.70 |
Server storage [IO: ▲0.22MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 13 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
ktg_options |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for King Grabber
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,841 ▲106 | 13.69 ▼0.69 | 5.11 ▲3.45 | 45.28 ▲5.70 |
Dashboard /wp-admin | 2,241 ▲53 | 5.11 ▼0.79 | 106.48 ▲2.86 | 37.52 ▼3.99 |
Posts /wp-admin/edit.php | 2,130 ▲41 | 2.11 ▲0.11 | 37.86 ▲1.65 | 32.70 ▼2.63 |
Add New Post /wp-admin/post-new.php | 6,573 ▲5,039 | 20.50 ▼2.81 | 920.96 ▲308.94 | 63.56 ▲2.42 |
Media Library /wp-admin/upload.php | 1,429 ▲41 | 4.28 ▲0.07 | 112.47 ▲14.81 | 46.19 ▲5.33 |
Multi Grabber /wp-admin/admin.php?page=ktg_tools | 1,081 | 1.87 | 33.10 | 24.63 |
Settings /wp-admin/admin.php?page=ktg_settings | 957 | 2.28 | 26.87 | 32.61 |
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
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
- 3× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/king-grabber/ktg_settings.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/king-grabber/ktg_settings.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/king-grabber/ktg_tools.php:9
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There are user-side issues you should fix
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=ktg_settings
- > Network (severe)
https://app.kinggrabber.com/api/v1/list - Failed to load resource: net::ERR_NAME_NOT_RESOLVED
Optimizations
Plugin configuration 97% 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
Attributes that require attention:
- Tags: Please delete some tags, you are using 13 tag instead of maximum 10
king-grabber/king-grabber.php Passed 13 tests
"King Grabber" version 1.4's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
104 characters long description:
King Grabber, this plugin will grab your favorite Host Comic chapter and more Community service easyliy.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
No dangerous file extensions were detected1,319 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 1 | 87 | 6 | 506 |
JavaScript | 3 | 10 | 3 | 397 |
PHP | 4 | 36 | 35 | 390 |
SVG | 1 | 0 | 0 | 26 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
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 | 20 | |
▷ Named functions | 20 | 100.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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
2 compressed PNG files occupy 0.00MB
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
search-sprite-2x.png | 0.72KB | 0.83KB | 0.00% |
search-sprite.png | 0.53KB | 0.88KB | 0.00% |