Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼2.88ms] Passed 4 tests
A check of server-side resources used by Status Page for Runscope
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.06 | 46.41 ▲0.28 |
Dashboard /wp-admin | 3.39 ▲0.05 | 51.86 ▼0.78 |
Posts /wp-admin/edit.php | 3.51 ▲0.11 | 49.51 ▼2.95 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.05 | 86.58 ▼8.05 |
Media Library /wp-admin/upload.php | 3.32 ▲0.05 | 44.07 ▲7.64 |
Server storage [IO: ▲0.25MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Status Page for Runscope
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.35 ▲0.00 | 1.80 ▲0.14 | 43.71 ▲6.08 |
Dashboard /wp-admin | 2,192 ▲15 | 5.48 ▼0.05 | 84.93 ▼6.41 | 37.54 ▼1.12 |
Posts /wp-admin/edit.php | 2,103 ▼0 | 1.95 ▼0.06 | 35.91 ▲0.30 | 32.12 ▼4.55 |
Add New Post /wp-admin/post-new.php | 1,535 ▲7 | 25.08 ▲1.98 | 690.25 ▲75.72 | 70.45 ▲22.51 |
Media Library /wp-admin/upload.php | 1,394 ▼6 | 4.14 ▼0.05 | 98.43 ▲0.74 | 43.31 ▲4.14 |
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
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
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
Good news, no errors were detected
SRP 0% 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 items
- 2× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/status-page-for-runscope/partials/partial.test-result.php
- > /wp-content/plugins/status-page-for-runscope/partials/partial.bucket-details.php
- 23× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/status-page-for-runscope/page-RUNSCOPESTATUS.php:2
- > PHP Notice
Undefined variable: arr_bucket_status in wp-content/plugins/status-page-for-runscope/partials/partial.bucket-details.php on line 5
- > PHP Notice
Trying to get property 'test_name' of non-object in wp-content/plugins/status-page-for-runscope/partials/partial.test-result.php on line 18
- > PHP Notice
Undefined variable: arr_bucket_status in wp-content/plugins/status-page-for-runscope/partials/partial.bucket-details.php on line 5
- > PHP Notice
Trying to get property 'assertions_failed' of non-object in wp-content/plugins/status-page-for-runscope/partials/partial.test-result.php on line 6
- > PHP Notice
Trying to get property 'name' of non-object in wp-content/plugins/status-page-for-runscope/partials/partial.bucket-details.php on line 2
- > PHP Notice
Trying to get property 'data' of non-object in wp-content/plugins/status-page-for-runscope/partials/partial.test-result.php on line 12
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/status-page-for-runscope/partials/partial.bucket-details.php on line 5
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/status-page-for-runscope/partials/partial.bucket-details.php on line 5
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/status-page-for-runscope/partials/partial.bucket-details.php on line 6
- > PHP Fatal error
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 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
- Tags: No tags were detected
- Screenshots: These screenshots do not have images: #1 (The settings metabox for Status Page for Runscope allows you to enter a Runscope API **Access Token** and **Bucket Key**, which will direct the Page being), #2 (A sample of what the Status Page for Runscope appears like: A list of each Test and their pass/fail state, and a summary box at the top with the overall)
status-page-for-runscope/runscope-status.php 92% from 13 tests
"Status Page for Runscope" version 1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("status-page-for-runscope.php" instead of "runscope-status.php")
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
There were no executable files found in this plugin625 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 95 | 63 | 312 |
CSS | 1 | 35 | 22 | 308 |
JavaScript | 2 | 0 | 6 | 5 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 28.00 |
▷ Minimum class complexity | 28.00 |
▷ Maximum class complexity | 28.00 |
Average method complexity | 2.93 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 14 | |
▷ Static methods | 9 | 64.29% |
▷ Public methods | 13 | 92.86% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 7.14% |
Functions | 0 | |
▷ Named functions | 0 | 0.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 Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
2 PNG files occupy 0.18MB with 0.12MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/screenshot-2.png | 106.10KB | 36.48KB | ▼ 65.62% |
images/screenshot-1.png | 75.17KB | 25.83KB | ▼ 65.64% |