Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▲1.07ms] Passed 4 tests
An overview of server-side resources used by Get Status
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 39.95 ▼2.34 |
Dashboard /wp-admin | 3.33 ▲0.03 | 57.08 ▲5.00 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 49.25 ▲3.12 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 93.96 ▼0.90 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 40.26 ▲4.38 |
All Status /wp-admin/edit.php?post_type=get_status | 3.30 | 39.22 |
Shortcodes /wp-admin/admin.php?page=getstatus_shortcode_callback | 3.25 | 32.55 |
Get Status /wp-admin/admin.php?page=get_status | 3.24 | 32.78 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Get Status
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,847 ▲86 | 14.25 ▼0.14 | 1.86 ▼0.11 | 43.74 ▼0.42 |
Dashboard /wp-admin | 2,228 ▲51 | 5.58 ▼0.05 | 94.69 ▼0.96 | 40.09 ▲0.70 |
Posts /wp-admin/edit.php | 2,130 ▲27 | 2.02 ▲0.04 | 38.90 ▲2.10 | 34.98 ▼0.77 |
Add New Post /wp-admin/post-new.php | 1,551 ▲16 | 23.05 ▲5.04 | 678.86 ▲62.29 | 48.27 ▼19.39 |
Media Library /wp-admin/upload.php | 1,427 ▲30 | 4.27 ▲0.12 | 104.90 ▲2.35 | 46.66 ▼1.08 |
All Status /wp-admin/edit.php?post_type=get_status | 1,190 | 1.94 | 36.94 | 32.34 |
Shortcodes /wp-admin/admin.php?page=getstatus_shortcode_callback | 835 | 2.03 | 24.85 | 23.45 |
Get Status /wp-admin/admin.php?page=get_status | 786 | 1.99 | 25.41 | 26.96 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- can_compress_scripts
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 no errors were found, this is by no means an exhaustive test
SRP 50% 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
Almost there! Just fix the following items
- 7× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/get-status/getstatus.php:25
- > PHP Warning
require_once(ABSPATHwp-admin/includes/class-wp-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/get-status/inc/shortcode-listing.php on line 3
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/get-status/inc/get-status-page.php on line 3
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/get-status/inc/shortcode-listing.php on line 3
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-list-table.php' (include_path='.:/usr/share/php') in wp-content/plugins/get-status/inc/get-status-page.php on line 3
- > PHP Warning
require_once(ABSPATHwp-admin/includes/class-wp-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/get-status/inc/get-status-page.php on line 3
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-list-table.php' (include_path='.:/usr/share/php') in wp-content/plugins/get-status/inc/shortcode-listing.php on line 3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need your attention:
- Screenshots: Add images for these screenshots: #1 (1. Screenshot-1.jpg), #2 (2. Screenshot-2.jpg)
get-status/getstatus.php 92% from 13 tests
The primary PHP file in "Get Status" version 0.1 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("get-status.php" instead of "getstatus.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected158 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 29 | 20 | 158 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
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 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG files were detected