Benchmarks
Plugin footprint 75% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
These installer errors require your attention
- This plugin did not install gracefully
- > Notice in wp-content/plugins/404-the-book-of-changes/404_the_book_of_changes.php+85
Undefined variable: user_ID
Server metrics [RAM: ▲0.01MB] [CPU: ▼302.97ms] Passed 4 tests
An overview of server-side resources used by 404 The Book of Changes
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.06 | 56.05 ▲3.67 |
Dashboard /wp-admin | 3.45 ▲0.04 | 40.42 ▼21.03 |
Posts /wp-admin/edit.php | 3.67 ▲0.03 | 50.72 ▲10.91 |
Add New Post /wp-admin/post-new.php | 6.91 ▼0.06 | 94.42 ▼1,193.02 |
Media Library /wp-admin/upload.php | 3.33 ▲0.03 | 29.92 ▼1.51 |
404 The Book of Changes (I Ching) /wp-admin/options-general.php?page=options_404tboc | 3.33 | 25.09 |
Server storage [IO: ▲2.61MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 288 new files
Database: no new tables, 9 new options
New WordPress options |
---|
skin-404tboc |
page-404tboc |
text-button-main404tboc |
text-button-continue404tboc |
text-button-restart404tboc |
startText404tboc |
is-text-button-restart404tboc |
is-text-support404tboc |
is-page-404tboc |
Browser metrics Passed 4 tests
404 The Book of Changes: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,792 ▲48 | 15.92 ▼0.07 | 6.18 ▲0.48 | 2.32 ▲0.14 |
Dashboard /wp-admin | 2,897 ▲39 | 6.12 ▼0.09 | 114.48 ▼18.81 | 154.56 ▼8.65 |
Posts /wp-admin/edit.php | 2,693 ▲21 | 3.24 ▲0.01 | 73.44 ▼14.10 | 144.44 ▼6.23 |
Add New Post /wp-admin/post-new.php | 1,690 ▲29 | 18.15 ▲1.58 | 425.64 ▼5.02 | 159.43 ▼1.65 |
Media Library /wp-admin/upload.php | 1,703 ▲8 | 5.50 ▼0.01 | 144.17 ▼3.59 | 186.48 ▼9.10 |
404 The Book of Changes (I Ching) /wp-admin/options-general.php?page=options_404tboc | 1,183 | 2.78 | 59.54 | 174.17 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
This plugin's uninstaller ran successfully
Smoke tests 75% from 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 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
- 5× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/404-the-book-of-changes/404_the_book_of_changes.php
- > /wp-content/plugins/404-the-book-of-changes/admin-wp-404-page.php
- > /wp-content/plugins/404-the-book-of-changes/random-text-wp-404-page.php
- > /wp-content/plugins/404-the-book-of-changes/content_wp-404-page.php
- > /wp-content/plugins/404-the-book-of-changes/skinsAdmin404.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 90% 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: error 404, i ching, page 404, 404
404-the-book-of-changes/404_the_book_of_changes.php 77% from 13 tests
The primary PHP file in "404 The Book of Changes" version 1.4 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 345 characters long)
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, 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 ("404-the-book-of-changes.php" instead of "404_the_book_of_changes.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin2,106 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 3 | 60 | 55 | 1,458 |
PHP | 6 | 43 | 36 | 450 |
PO File | 2 | 70 | 64 | 198 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
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 | 9 | |
▷ Named functions | 9 | 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 50% from 2 tests
Image compression 50% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
80 PNG files occupy 2.43MB with 1.48MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
textsImages/45.png | 39.53KB | 14.97KB | ▼ 62.13% |
skins/skin2/ask.png | 10.80KB | 4.14KB | ▼ 61.65% |
textsImages/34.png | 34.63KB | 13.31KB | ▼ 61.58% |
skins/skin3/0.png | 5.82KB | 2.49KB | ▼ 57.18% |
textsImages/2.png | 44.35KB | 16.86KB | ▼ 61.99% |