Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Please fix the following installer errors
- This plugin did not install gracefully
- > Warning in wp-content/plugins/whale-kit/whale-kit.php+18
require_once(wp-content/plugins/whale-kit/wk-tree.php): failed to open stream: No such file or directory
Server metrics [RAM: ▲0.00MB] [CPU: ▼4.05ms] Passed 4 tests
A check of server-side resources used by Whale-Kit
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 48.43 ▲6.55 |
Dashboard /wp-admin | 3.31 ▲0.00 | 53.40 ▲1.71 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 48.32 ▼2.99 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 84.88 ▼16.37 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 41.10 ▲1.45 |
Server storage [IO: ▲0.19MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
Whale-Kit: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.16 ▼0.19 | 1.69 ▲0.15 | 44.12 ▲0.84 |
Dashboard /wp-admin | 2,195 ▲18 | 5.56 ▼0.09 | 93.27 ▲3.50 | 38.36 ▼6.42 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.06 ▲0.07 | 35.04 ▼1.92 | 37.53 ▲5.28 |
Add New Post /wp-admin/post-new.php | 1,528 ▲2 | 23.34 ▼0.15 | 684.26 ▼7.61 | 53.59 ▼6.72 |
Media Library /wp-admin/upload.php | 1,403 ▲6 | 4.18 ▼0.07 | 109.77 ▼3.38 | 46.65 ▲0.61 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
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
Even though no errors were found, this is by no means an exhaustive test
SRP 0% from 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
Please take a closer look at the following
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/whale-kit/wk-terms.php
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function remove_filter() in wp-content/plugins/whale-kit/whale-kit.php:16
- > PHP Fatal error
Uncaught Error: Class 'WK_tree' not found in wp-content/plugins/whale-kit/wk-posts.php:40
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
8 plugin tags: wp_query, posts, get_pages, taxonomies, categories...
whale-kit/whale-kit.php 92% from 13 tests
The main PHP script in "Whale-Kit" version 2.0 is automatically included on every request by WordPress
The following require your attention:
- Description: Please keep the plugin description shorter than 140 characters (currently 604 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 detected372 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 99 | 180 | 372 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.57 |
Average class complexity | 34.50 |
▷ Minimum class complexity | 17.00 |
▷ Maximum class complexity | 52.00 |
Average method complexity | 10.57 |
▷ Minimum method complexity | 3.00 |
▷ Maximum method complexity | 27.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 7 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 7 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 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
PNG files should be compressed to save space and minimize bandwidth usage
4 PNG files occupy 0.16MB with 0.11MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-3.png | 5.14KB | 2.16KB | ▼ 58.03% |
screenshot-2.png | 8.67KB | 3.39KB | ▼ 60.92% |
screenshot-1.png | 60.29KB | 19.33KB | ▼ 67.94% |
screenshot-4.png | 92.66KB | 21.63KB | ▼ 76.65% |