Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.07MB] [CPU: ▼5.51ms] Passed 4 tests
Analyzing server-side resources used by WP Google Core Web Vitals Fix
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 38.22 ▲3.23 |
Dashboard /wp-admin | 3.39 ▲0.05 | 46.79 ▼9.84 |
Posts /wp-admin/edit.php | 3.44 ▲0.09 | 43.56 ▼0.70 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.09 | 82.45 ▼14.73 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 41.91 ▲7.31 |
Security Extensions /wp-admin/admin.php?page=plggcwvf_extensions_page | 3.26 | 32.20 |
Get Full Version /wp-admin/admin.php?page=plggcwvf_upgrade_redirect | 3.28 | 31.56 |
Server storage [IO: ▲2.64MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 23 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_plggcwvf_config |
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for WP Google Core Web Vitals Fix
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲60 | 14.43 ▼0.12 | 1.78 ▲0.03 | 44.23 ▲2.11 |
Dashboard /wp-admin | 2,197 ▲17 | 5.06 ▼0.54 | 99.53 ▲9.31 | 71.85 ▲33.05 |
Posts /wp-admin/edit.php | 2,118 ▲18 | 2.49 ▲0.55 | 32.32 ▼5.14 | 32.58 ▼3.17 |
Add New Post /wp-admin/post-new.php | 1,694 ▲166 | 22.50 ▼0.74 | 689.09 ▲27.79 | 30.73 ▼20.82 |
Media Library /wp-admin/upload.php | 1,420 ▲17 | 4.54 ▲0.38 | 98.29 ▼3.97 | 87.27 ▲42.54 |
Security Extensions /wp-admin/admin.php?page=plggcwvf_extensions_page | 790 | 1.93 | 30.58 | 24.89 |
Get Full Version /wp-admin/admin.php?page=plggcwvf_upgrade_redirect | 3,472 | 4.91 | 80.32 | 69.61 |
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
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Please fix the following server-side errors
- > GET request to /wp-admin/admin.php?page=plggcwvf_extensions_page
- > Warning in wp-includes/class-wp-hook.php+310
call_user_func_array() expects parameter 1 to be a valid callback, function 'plggcwvf_extensions_page' not found or invalid function name
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/cls-lcp-issues-fix/wp-core-web-vitals-optimization.php:15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
10 plugin tags: google optimization, lcp issue, fid issue fix, fid issue, web vitals fix...
cls-lcp-issues-fix/wp-core-web-vitals-optimization.php 85% from 13 tests
The main file in "WP Google Core Web Vitals Fix" v. 1.0.3 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
- Description: Please keep the plugin description shorter than 140 characters (currently 298 characters long)
- Main file name: The principal plugin file should be the same as the plugin slug ("cls-lcp-issues-fix.php" instead of "wp-core-web-vitals-optimization.php")
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
Success! There were no dangerous files found in this plugin3,455 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 4 | 0 | 12 | 2,881 |
PHP | 1 | 142 | 33 | 570 |
CSS | 1 | 0 | 371 | 3 |
JavaScript | 1 | 0 | 10 | 1 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
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 | 20 | |
▷ Named functions | 20 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
2 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/logo.png | 1.24KB | 0.65KB | ▼ 47.88% |
css/themes/default/assets/images/flags.png | 27.46KB | 29.21KB | 0.00% |