Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.64MB] [CPU: ▼18.73ms] Passed 4 tests
This is a short check of server-side resources used by WPCheckr
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 39.96 ▲3.14 |
Dashboard /wp-admin | 3.35 ▲0.04 | 44.30 ▼2.88 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 48.60 ▼2.00 |
Add New Post /wp-admin/post-new.php | 3.22 ▼2.67 | 33.41 ▼69.74 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 32.82 ▼0.29 |
WPCheckr /wp-admin/tools.php?page=wpcheckr | 3.21 | 29.29 |
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: 7 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
wpcheckr-secret-string |
Browser metrics Passed 4 tests
Checking browser requirements for WPCheckr
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲35 | 13.20 ▼1.55 | 1.75 ▼0.00 | 45.82 ▲2.96 |
Dashboard /wp-admin | 2,212 ▲27 | 5.79 ▲0.81 | 99.90 ▼4.72 | 37.05 ▼3.43 |
Posts /wp-admin/edit.php | 2,095 ▲6 | 2.00 ▼0.01 | 40.00 ▲2.41 | 31.99 ▼2.72 |
Add New Post /wp-admin/post-new.php | 1,533 ▲14 | 23.04 ▼0.14 | 663.22 ▼30.68 | 50.73 ▼1.90 |
Media Library /wp-admin/upload.php | 1,394 ▲6 | 4.15 ▼0.05 | 95.72 ▼19.05 | 43.55 ▼6.15 |
WPCheckr /wp-admin/tools.php?page=wpcheckr | 781 | 2.19 | 24.64 | 33.97 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- Zombie WordPress options were found after uninstall: 7 options
- wpcheckr-secret-string
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These errors were triggered by the plugin
- > GET request to /wp-admin/tools.php?page=wpcheckr
- > Notice in wp-content/plugins/wpcheckr/inc/options-page.php+38
Trying to access array offset on value of type bool
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
The following issues need your attention
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wpcheckr/inc/rest-api-endpoints.php:160
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/wpcheckr/wpcheckr.php:15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
5 plugin tags: monitor, wpcheckr, wordpress, update, checks
wpcheckr/wpcheckr.php Passed 13 tests
The primary PHP file in "WPCheckr" version 1.0.1 is used by WordPress to initiate all plugin functionality
107 characters long description:
WPCheckr helps you monitor all your WordPress sites in one place, so you can mantain everything up to date.
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 plugin228 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 64 | 57 | 218 |
CSS | 1 | 0 | 0 | 10 |
PHP code Passed 2 tests
A brief analysis 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.27 |
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 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There are no PNG files in this plugin