89% core-web-vitals-monitor

Code Review | Core Web Vitals Monitor - Track your Page Speed & Load Times for Real Users

WordPress plugin Core Web Vitals Monitor - Track your Page Speed & Load Times for Real Users scored89%from 54 tests.

About plugin

  • Plugin page: core-web-vitals-m...
  • Plugin version: 1.0.0
  • PHP compatiblity: 7.4.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.2-6.1
  • WordPress version: 6.3.1
  • First release: Feb 15, 2023
  • Latest release: Feb 15, 2023
  • Number of updates: 12
  • Update frequency: N/A
  • Top authors: wrdstudio (100%)

Code review

54 tests

User reviews

1 review

Install metrics

30+ active /296 total downloads


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
PageMemory (MB)CPU Time (ms)
Home /3.55 ▲0.0947.19 ▲4.44
Dashboard /wp-admin3.38 ▲0.0848.66 ▼2.61
Posts /wp-admin/edit.php3.50 ▲0.1449.74 ▲5.76
Add New Post /wp-admin/post-new.php6.03 ▲0.1485.51 ▼1.13
Media Library /wp-admin/upload.php3.30 ▲0.0832.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
New WordPress options

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
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,143 ▲40815.76 ▲1.123.98 ▲1.9229.89 ▼15.27
Dashboard /wp-admin2,541 ▲3566.40 ▲0.59110.33 ▼5.0652.66 ▲4.42
Posts /wp-admin/edit.php2,098 ▲122.30 ▲0.2841.04 ▲6.6632.80 ▼2.04
Add New Post /wp-admin/post-new.php6,571 ▲5,03721.99 ▼1.07899.37 ▲271.4282.89 ▲36.49
Media Library /wp-admin/upload.php1,393 ▲54.76 ▲0.5699.03 ▲3.0442.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


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
You can look at the official readme.txt

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:
LanguageFilesBlank linesComment linesLines of code

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 code0.16
Average class complexity4.57
▷ Minimum class complexity1.00
▷ Maximum class complexity24.00
Average method complexity1.57
▷ Minimum method complexity1.00
▷ Maximum method complexity10.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes7100.00%
▷ Final classes00.00%
▷ Static methods36.98%
▷ Public methods3581.40%
▷ Protected methods00.00%
▷ Private methods818.60%
▷ Named functions150.00%
▷ Anonymous functions150.00%
▷ Global constants00.00%
▷ Class constants3100.00%
▷ Public constants3100.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