Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.10MB] [CPU: ▲0.13ms] Passed 4 tests
An overview of server-side resources used by Core Web Vitals Monitor - Track your Page Speed & Load Times for Real Users
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 47.19 ▲4.44 |
Dashboard /wp-admin | 3.38 ▲0.08 | 48.66 ▼2.61 |
Posts /wp-admin/edit.php | 3.50 ▲0.14 | 49.74 ▲5.76 |
Add New Post /wp-admin/post-new.php | 6.03 ▲0.14 | 85.51 ▼1.13 |
Media Library /wp-admin/upload.php | 3.30 ▲0.08 | 32.42 ▼0.18 |
Server storage [IO: ▲0.26MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 15 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_corewebvitalscores |
New WordPress options |
---|
widget_recent-posts |
corewebvitalsmonitor_version |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
Core Web Vitals Monitor - Track your Page Speed & Load Times for Real Users: 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 / | 3,143 ▲408 | 15.76 ▲1.12 | 3.98 ▲1.92 | 29.89 ▼15.27 |
Dashboard /wp-admin | 2,541 ▲356 | 6.40 ▲0.59 | 110.33 ▼5.06 | 52.66 ▲4.42 |
Posts /wp-admin/edit.php | 2,098 ▲12 | 2.30 ▲0.28 | 41.04 ▲6.66 | 32.80 ▼2.04 |
Add New Post /wp-admin/post-new.php | 6,571 ▲5,037 | 21.99 ▼1.07 | 899.37 ▲271.42 | 82.89 ▲36.49 |
Media Library /wp-admin/upload.php | 1,393 ▲5 | 4.76 ▲0.56 | 99.03 ▲3.04 | 42.19 ▲1.39 |
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
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
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)
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
Congratulations! This plugin passed the SRP test
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 83% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Please fix the following attributes:
- Tags: Please delete some tags, you are using 12 tag instead of maximum 10
core-web-vitals-monitor/corewebvitalsmonitor.php 69% from 13 tests
"Core Web Vitals Monitor - Track your Page Speed & Load Times for Real Users" version 1.0.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:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Requires at least: The required version number did not match the one declared in readme.txt ("5.7" instead of "5.2")
- Main file name: The principal plugin file should be the same as the plugin slug ("core-web-vitals-monitor.php" instead of "corewebvitalsmonitor.php")
- Domain Path: The domain path points to a folder that does not exist ("/languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin1,330 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 6 | 120 | 1 | 798 |
PHP | 7 | 144 | 18 | 532 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
Average class complexity | 4.57 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 24.00 |
Average method complexity | 1.57 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 43 | |
▷ Static methods | 3 | 6.98% |
▷ Public methods | 35 | 81.40% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 8 | 18.60% |
Functions | 2 | |
▷ Named functions | 1 | 50.00% |
▷ Anonymous functions | 1 | 50.00% |
Constants | 3 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 3 | 100.00% |
▷ Public constants | 3 | 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