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
- > Deprecated in wp-content/plugins/ix-wemonit/plugin/Ix_Wemonit.php+54
Function create_function() is deprecated
Server metrics [RAM: ▼1.81MB] [CPU: ▼53.09ms] Passed 4 tests
Server-side resources used by IX WeMonit
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.18 ▼1.28 | 5.60 ▼36.39 |
Dashboard /wp-admin | 2.20 ▼1.11 | 6.57 ▼45.57 |
Posts /wp-admin/edit.php | 2.20 ▼1.16 | 8.15 ▼36.62 |
Add New Post /wp-admin/post-new.php | 2.20 ▼3.69 | 7.43 ▼93.77 |
Media Library /wp-admin/upload.php | 2.20 ▼1.03 | 6.23 ▼27.44 |
IX WeMonit /wp-admin/options-general.php?page=ix_wemonit | 2.20 | 6.56 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 8 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_ix_wemonit_widget |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
ix_wemonit |
Browser metrics Passed 4 tests
This is an overview of browser requirements for IX WeMonit
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 13.27 ▼1.03 | 4.98 ▲3.07 | 43.08 ▼3.34 |
Dashboard /wp-admin | 2,210 ▲19 | 5.84 ▼0.06 | 106.89 ▲3.83 | 41.49 ▼4.66 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.05 ▲0.03 | 40.52 ▲3.96 | 36.19 ▲3.20 |
Add New Post /wp-admin/post-new.php | 1,517 ▼3 | 21.67 ▼1.40 | 613.36 ▼75.78 | 53.47 ▼6.81 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.14 ▼0.05 | 94.13 ▼24.72 | 43.31 ▼5.79 |
IX WeMonit /wp-admin/options-general.php?page=ix_wemonit | 833 | 2.03 | 24.19 | 26.77 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- The plugin did not uninstall gracefully
- > Deprecated in wp-content/plugins/ix-wemonit/plugin/Ix_Wemonit.php+54
Function create_function() is deprecated
- Zombie WordPress options detected upon uninstall: 8 options
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- ix_wemonit
- widget_ix_wemonit_widget
- theysaidso_admin_options
Smoke tests 25% 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/options-general.php?page=ix_wemonit
- > Deprecated in wp-content/plugins/ix-wemonit/plugin/Ix_Wemonit.php+54
Function create_function() is deprecated
- > GET request to /wp-admin/options-general.php?page=ix_wemonit
- > Notice in wp-content/plugins/ix-wemonit/plugin/admin/options-page.phtml+6
Undefined variable: wpnonce
SRP 0% 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
Almost there! Just fix the following items
- 2× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/ix-wemonit/plugin/template_tags.php
- > /wp-content/plugins/ix-wemonit/loader.php
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/ix-wemonit/plugin/Ix_Wemonit_Widget.php:3
- > 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)
Everything seems fine on the user side
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 (The options page. Nothing but the apikey is required. Then it shows all available services with related shortcodes and template tags.), #2 (The build in widget control)
ix-wemonit/loader.php 92% from 13 tests
The main file in "IX WeMonit" v. 1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("ix-wemonit.php" instead of "loader.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin409 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 84 | 17 | 409 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
Average class complexity | 19.00 |
▷ Minimum class complexity | 15.00 |
▷ Maximum class complexity | 23.00 |
Average method complexity | 2.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 27 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 24 | 88.89% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 11.11% |
Functions | 15 | |
▷ Named functions | 15 | 100.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
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin