Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼0.95ms] Passed 4 tests
Server-side resources used by WP Genesis Box
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 38.96 ▼3.51 |
Dashboard /wp-admin | 3.32 ▲0.02 | 52.36 ▲1.54 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 49.93 ▲1.14 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 96.59 ▲0.07 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 35.01 ▼1.52 |
WP Genesis Box /wp-admin/options-general.php?page=wp-genesis-box | 3.18 | 31.09 |
Server storage [IO: ▲0.73MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 46 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
wp_genesis_box |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WP Genesis Box
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲94 | 14.44 ▲0.07 | 1.84 ▼0.09 | 42.21 ▼9.35 |
Dashboard /wp-admin | 2,210 ▲25 | 5.01 ▼0.85 | 107.75 ▲7.16 | 42.69 ▼1.93 |
Posts /wp-admin/edit.php | 2,093 ▲1 | 1.99 ▼0.02 | 38.96 ▼1.91 | 35.79 ▼1.05 |
Add New Post /wp-admin/post-new.php | 1,533 ▼9 | 23.32 ▲4.85 | 636.70 ▲23.72 | 69.74 ▲17.83 |
Media Library /wp-admin/upload.php | 1,392 ▲1 | 4.20 ▲0.01 | 94.48 ▼9.36 | 42.49 ▼1.87 |
WP Genesis Box /wp-admin/options-general.php?page=wp-genesis-box | 1,152 | 2.20 | 26.51 | 40.38 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=wp-genesis-box
- > Notice in wp-content/plugins/wp-genesis-box/wp-genesis-box.php+164
Undefined variable: selectedimage
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
Please fix the following items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/wp-genesis-box/wp-genesis-box.php:21
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please take a look at the following user-side issues
- > GET request to /wp-admin/options-general.php?page=wp-genesis-box
- > Network (severe)
wp-content/plugins/wp-genesis-box/images/.png - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
7 plugin tags: genesis, rounded, image, affiliate, commission...
wp-genesis-box/wp-genesis-box.php Passed 13 tests
This is the main PHP file of "WP Genesis Box" version 0.2.8, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
109 characters long description:
Display the Genesis framework affiliate box on your WordPress website. Make money as a Studiopress affiliate.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin572 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 32 | 60 | 556 |
CSS | 2 | 0 | 0 | 13 |
JavaScript | 1 | 0 | 0 | 3 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
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 | 36 | |
▷ Named functions | 36 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 29 | |
▷ Global constants | 29 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
38 PNG files occupy 0.67MB with 0.34MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/genesis_framework_logo20.png | 5.89KB | 1.91KB | ▼ 67.58% |
images/genesis_framework_logo9.png | 3.33KB | 2.14KB | ▼ 35.88% |
images/genesis_framework_logo7.png | 7.99KB | 3.50KB | ▼ 56.24% |
images/genesis_framework_logo29.png | 12.75KB | 6.72KB | ▼ 47.26% |
images/genesis_framework_logo2.png | 3.68KB | 1.97KB | ▼ 46.38% |