Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The following installer errors require your attention
- The plugin did not install without errors
- > Warning in wp-content/plugins/wi1-monitor-wp/WI1-WP-Plugin.php+169
file_get_contents(WI1_WP_error.txt): failed to open stream: No such file or directory
Server metrics [RAM: ▼1.93MB] [CPU: ▼55.36ms] Passed 4 tests
This is a short check of server-side resources used by WI1 WP Plugin
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.07 ▼1.39 | 4.89 ▼36.99 |
Dashboard /wp-admin | 2.09 ▼1.26 | 5.93 ▼56.83 |
Posts /wp-admin/edit.php | 2.09 ▼1.27 | 6.98 ▼37.68 |
Add New Post /wp-admin/post-new.php | 2.09 ▼3.80 | 5.55 ▼89.92 |
Media Library /wp-admin/upload.php | 2.09 ▼1.14 | 6.23 ▼29.05 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] 67% from 3 tests
How much does this plugin use your filesystem and database?
Please fix the following
- Illegal file modification found: 2 files (0.00KB) outside of "wp-content/plugins/wi1-monitor-wp/" and "wp-content/uploads/"
- (new file) WI1_WP_error.txt
- (new file) wp-admin/WI1_WP_error.txt
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by WI1 WP Plugin
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,803 ▲57 | 13.26 ▼1.11 | 1.70 ▼0.02 | 45.20 ▲0.98 |
Dashboard /wp-admin | 2,212 ▲24 | 4.94 ▼0.92 | 106.56 ▼16.45 | 43.05 ▼0.25 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 2.07 ▲0.03 | 51.37 ▲15.15 | 34.51 ▼2.61 |
Add New Post /wp-admin/post-new.php | 1,530 ▲16 | 23.08 ▲5.56 | 664.64 ▲7.19 | 52.03 ▼0.03 |
Media Library /wp-admin/upload.php | 1,385 ▼3 | 4.24 ▲0.11 | 100.31 ▼11.26 | 43.48 ▼3.56 |
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
It is recommended to fix the following
- This plugin cannot be uninstalled
- > Notice in wp-content/plugins/wi1-monitor-wp/WI1-WP-Plugin.php+170
Undefined variable: filter_themes
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not an exhaustive test
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
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/wi1-monitor-wp/WI1-WP-Plugin.php:30
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
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:
- Screenshots: Screenshot #1 (2.) image required
wi1-monitor-wp/WI1-WP-Plugin.php 92% from 13 tests
The main PHP file in "WI1 WP Plugin" ver. 1.1 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("wi1-monitor-wp.php" instead of "WI1-WP-Plugin.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
Everything looks great! No dangerous files found in this plugin137 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 25 | 27 | 119 |
JavaScript | 1 | 0 | 2 | 18 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
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 | 6 | |
▷ Named functions | 6 | 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
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin