Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼7.51ms] Passed 4 tests
A check of server-side resources used by Cedexis Radar Monitoring for WordPress
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 38.29 ▼7.87 |
Dashboard /wp-admin | 3.32 ▼0.02 | 50.64 ▼12.16 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 48.96 ▼1.08 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 92.56 ▼8.93 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 48.84 ▲13.14 |
Cedexis Radar /wp-admin/options-general.php?page=wp_cedexis_radar | 3.21 | 32.53 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
Cedexis Radar Monitoring for WordPress: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲7 | 14.24 ▼0.44 | 1.52 ▼0.86 | 38.63 ▼5.12 |
Dashboard /wp-admin | 2,199 ▲19 | 5.60 ▼0.03 | 88.18 ▼9.67 | 38.77 ▲0.73 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.02 ▲0.02 | 38.14 ▼4.37 | 39.03 ▲1.44 |
Add New Post /wp-admin/post-new.php | 1,530 ▲4 | 22.99 ▼0.16 | 704.39 ▲46.32 | 66.28 ▲2.89 |
Media Library /wp-admin/upload.php | 1,407 ▲10 | 4.17 ▼0.02 | 94.32 ▼20.47 | 45.44 ▼3.24 |
Cedexis Radar /wp-admin/options-general.php?page=wp_cedexis_radar | 857 | 2.17 | 24.07 | 26.15 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
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
Everything seems fine, however this is by no means 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
The following issues need your attention
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/wp-cedexis/wp-cedexis.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
6 plugin tags: analytics, monitoring, performance, cedexis, cdn...
wp-cedexis/wp-cedexis.php Passed 13 tests
The main PHP script in "Cedexis Radar Monitoring for WordPress" version 0.2 is automatically included on every request by WordPress
41 characters long description:
Track site performance with Cedexis Radar
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
There were no executable files found in this plugin87 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 16 | 24 | 87 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.08 |
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 | 5 | |
▷ Named functions | 5 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/logo-cedexis.png | 4.07KB | 2.77KB | ▼ 31.93% |