Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▼1.26MB] [CPU: ▼42.42ms] Passed 4 tests
A check of server-side resources used by SETI@home Stats
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.73 ▼0.74 | 15.53 ▼24.31 |
Dashboard /wp-admin | 2.76 ▼0.58 | 15.40 ▼41.54 |
Posts /wp-admin/edit.php | 2.77 ▼0.59 | 15.16 ▼26.64 |
Add New Post /wp-admin/post-new.php | 2.76 ▼3.12 | 15.32 ▼77.20 |
Media Library /wp-admin/upload.php | 2.77 ▼0.46 | 15.44 ▼19.64 |
SETI@home Stats /wp-admin/options-general.php?page=setihome-stats/options-seti.php | 2.77 | 15.89 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 6 new files
Database: no new tables, 8 new options
New WordPress options |
---|
seti_acct |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
seti_expy |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for SETI@home Stats
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲83 | 13.18 ▼1.47 | 2.04 ▲0.57 | 44.87 ▲3.00 |
Dashboard /wp-admin | 2,213 ▲21 | 4.88 ▼0.07 | 111.32 ▲4.36 | 42.96 ▼0.32 |
Posts /wp-admin/edit.php | 2,072 ▼17 | 2.01 ▲0.02 | 34.89 ▼2.37 | 32.45 ▼1.41 |
Add New Post /wp-admin/post-new.php | 1,517 ▼11 | 17.54 ▼0.63 | 656.27 ▲37.93 | 54.34 ▼9.47 |
Media Library /wp-admin/upload.php | 1,389 ▲4 | 4.19 ▲0.08 | 94.54 ▼15.35 | 44.81 ▼3.08 |
SETI@home Stats /wp-admin/options-general.php?page=setihome-stats/options-seti.php | 839 | 2.06 | 25.13 | 28.45 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- Uninstall procedure validation failed for this plugin
- > User deprecated in wp-includes/functions.php+5747
Function load_plugin_textdomain was called with an argument that is deprecated since version 2.7.0 with no alternative available.
- Zombie WordPress options detected upon uninstall: 8 options
- widget_theysaidso_widget
- seti_acct
- widget_recent-comments
- theysaidso_admin_options
- seti_expy
- widget_recent-posts
- db_upgraded
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=setihome-stats/options-seti.php
- > User deprecated in wp-includes/functions.php+5747
Function load_plugin_textdomain was called with an argument that is deprecated since version 2.7.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=setihome-stats/options-seti.php
- > Notice in wp-content/plugins/setihome-stats/options-seti.php+20
Undefined index: stage
SRP 50% from 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
Please fix the following
- 4× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_option() in wp-content/plugins/setihome-stats/options-seti.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/setihome-stats/widget-setistats.php:33
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/setihome-stats/setistats.php on line 35
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/setihome-stats/setistats.php:43
- > 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)
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Tested up to: Version format is invalid
setihome-stats/setistats.php 92% from 13 tests
"SETI@home Stats" version 1.1.9's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("setihome-stats.php" instead of "setistats.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
Good job! No executable or dangerous file extensions detected193 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 66 | 77 | 193 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
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 | 8 | |
▷ Named functions | 8 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 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
1 PNG file occupies 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
seti_button.png | 7.49KB | 2.73KB | ▼ 63.56% |