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.09MB] [CPU: ▼1.82ms] Passed 4 tests
This is a short check of server-side resources used by WEDOS OnLine monitoring
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.03 | 41.53 ▼5.15 |
Dashboard /wp-admin | 3.41 ▲0.10 | 49.95 ▲0.30 |
Posts /wp-admin/edit.php | 3.52 ▲0.16 | 47.41 ▼0.07 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.13 | 86.50 ▼2.34 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 37.37 ▲2.51 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for WEDOS OnLine monitoring
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,822 ▲87 | 13.26 ▼1.09 | 4.34 ▲1.77 | 41.24 ▼5.88 |
Dashboard /wp-admin | 2,228 ▲40 | 6.01 ▲1.13 | 100.46 ▼10.96 | 38.28 ▼9.82 |
Posts /wp-admin/edit.php | 2,111 ▲22 | 2.45 ▲0.44 | 34.37 ▼0.98 | 32.57 ▼1.41 |
Add New Post /wp-admin/post-new.php | 1,533 ▼1 | 17.69 ▼5.56 | 686.63 ▲16.27 | 60.14 ▼4.03 |
Media Library /wp-admin/upload.php | 1,413 ▲25 | 4.31 ▲0.14 | 95.58 ▼11.26 | 41.49 ▼5.55 |
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
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- widget_recent-comments
Smoke tests 50% 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)
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
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/wedos-online-monitoring/ping.php
- 4× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'PHPF\\WP\\Api\\Endpoint' not found in wp-content/plugins/wedos-online-monitoring/lib/ApiServer/ValidatePairToken.php:14
- > PHP Fatal error
Uncaught Error: Class 'PHPF\\WP\\Api\\ApiClient' not found in wp-content/plugins/wedos-online-monitoring/lib/ApiClient/MonApiClient.php:11
- > PHP Fatal error
Uncaught Error: Class 'PHPF\\WP\\Api\\Endpoint' not found in wp-content/plugins/wedos-online-monitoring/lib/ApiServer/Ping.php:11
- > PHP Fatal error
Uncaught Error: Class 'PHPF\\WP\\Page\\Page' not found in wp-content/plugins/wedos-online-monitoring/lib/DashboardPage.php:13
- > 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, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that require attention:
- Tags: The plugin tags were not defined
wedos-online-monitoring/wedos-online-monitoring.php Passed 13 tests
"WEDOS OnLine monitoring" version 1.0.10's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
110 characters long description:
WEDOS OnLine monitoring plugin. It allows you to link your website with WEDOS OnLine free monitoring solution.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin710 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 19 | 256 | 497 | 694 |
CSS | 1 | 3 | 0 | 16 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 5.73 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 20.00 |
Average method complexity | 2.47 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 8 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 15 | |
▷ Abstract classes | 2 | 13.33% |
▷ Concrete classes | 13 | 86.67% |
▷ Final classes | 2 | 15.38% |
Methods | 56 | |
▷ Static methods | 33 | 58.93% |
▷ Public methods | 30 | 53.57% |
▷ Protected methods | 16 | 28.57% |
▷ Private methods | 10 | 17.86% |
Functions | 8 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 8 | 100.00% |
Constants | 3 | |
▷ Global constants | 1 | 33.33% |
▷ Class constants | 2 | 66.67% |
▷ Public constants | 2 | 100.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