Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼4.03ms] Passed 4 tests
A check of server-side resources used by Site24x7 Real User Monitoring
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.74 ▲0.01 | 45.21 ▼0.88 |
Dashboard /wp-admin | 3.57 ▲0.01 | 50.09 ▼4.88 |
Posts /wp-admin/edit.php | 3.69 ▲0.01 | 49.74 ▼5.55 |
Add New Post /wp-admin/post-new.php | 6.16 ▲0.01 | 86.00 ▼4.79 |
Media Library /wp-admin/upload.php | 3.50 ▲0.01 | 41.83 ▲3.55 |
Server storage [IO: ▲0.43MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 17 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Site24x7 Real User Monitoring
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲39 | 14.64 ▼0.12 | 1.94 ▲0.04 | 40.67 ▲1.79 |
Dashboard /wp-admin | 2,209 ▲32 | 5.55 ▼0.18 | 86.87 ▼21.50 | 71.68 ▲13.87 |
Posts /wp-admin/edit.php | 2,111 ▲11 | 2.02 ▲0.03 | 37.98 ▼3.13 | 34.76 ▼2.30 |
Add New Post /wp-admin/post-new.php | 1,536 ▲5 | 23.05 ▲1.69 | 727.63 ▲129.39 | 57.20 ▲6.43 |
Media Library /wp-admin/upload.php | 1,402 ▲2 | 4.23 ▼0.00 | 108.97 ▲6.04 | 78.42 ▲32.88 |
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
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- db_upgraded
Smoke tests Passed 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 no errors were found, this is by no means an exhaustive test
SRP Passed 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 SRP test was a success
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)
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
6 plugin tags: site24x7, application performance, user experience monitoring, website monitoring, rum...
site24x7-rum/Site24x7.php 77% from 13 tests
"Site24x7 Real User Monitoring" version 1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
You should first fix the following items:
- Main file name: Name the main plugin file the same as the plugin slug ("site24x7-rum.php" instead of "Site24x7.php")
- Text Domain: The text domain follows the same naming rules as the plugin slug: lowercase characters and dashes
- Description: Please don't use more than 140 characters for the plugin description (currently 476 characters long)
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
Good job! No executable or dangerous file extensions detected246 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 2 | 11 | 125 |
CSS | 1 | 1 | 0 | 57 |
Markdown | 1 | 24 | 0 | 39 |
JavaScript | 1 | 0 | 0 | 25 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
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 | 3 | |
▷ Named functions | 3 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
11 PNG files occupy 0.41MB with 0.10MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/favicons247.png | 1.59KB | 0.84KB | ▼ 47.42% |
assets/icon-256x256.png | 46.53KB | 13.73KB | ▼ 70.48% |
assets/screenshot-5.png | 46.79KB | 45.96KB | ▼ 1.77% |
assets/banner-1544x500.png | 54.87KB | 53.78KB | ▼ 1.99% |
assets/screenshot-4.png | 66.82KB | 64.68KB | ▼ 3.20% |