Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▼1.21MB] [CPU: ▼42.30ms] Passed 4 tests
An overview of server-side resources used by Disable FLoC Easily
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.77 ▼0.69 | 15.91 ▼26.68 |
Dashboard /wp-admin | 2.81 ▼0.50 | 15.20 ▼36.76 |
Posts /wp-admin/edit.php | 2.81 ▼0.55 | 17.64 ▼28.48 |
Add New Post /wp-admin/post-new.php | 2.81 ▼3.08 | 16.55 ▼77.26 |
Media Library /wp-admin/upload.php | 2.81 ▼0.42 | 15.23 ▼20.65 |
Disable FLoC /wp-admin/options-general.php?page=disable-floc-easily | 2.81 | 15.97 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Disable FLoC Easily
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲71 | 13.66 ▼0.89 | 1.64 ▼0.35 | 42.52 ▼6.54 |
Dashboard /wp-admin | 2,212 ▲24 | 4.82 ▼0.99 | 98.97 ▼22.90 | 38.48 ▼7.43 |
Posts /wp-admin/edit.php | 2,095 ▲6 | 2.04 ▲0.05 | 34.43 ▼2.34 | 39.56 ▲7.20 |
Add New Post /wp-admin/post-new.php | 1,537 ▲4 | 23.27 ▲0.14 | 686.08 ▲20.58 | 68.93 ▲10.62 |
Media Library /wp-admin/upload.php | 1,394 ▲12 | 4.21 ▲0.04 | 93.68 ▼7.64 | 40.33 ▼0.29 |
Disable FLoC /wp-admin/options-general.php?page=disable-floc-easily | 870 | 2.01 | 23.82 | 33.44 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Uninstall procedure had uncaught errors
- > Notice in wp-content/plugins/disable-floc-easily/classes/class-disable-floc-easily-admin.php+27
Trying to access array offset on value of type bool
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Smoke test failed, please fix the following
- > GET request to /wp-admin/options-general.php?page=disable-floc-easily
- > Notice in wp-content/plugins/disable-floc-easily/classes/class-disable-floc-easily-admin.php+27
Trying to access array offset on value of type bool
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
Looking good! No server-side errors or output on direct access of PHP files
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)
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
1 plugin tags: floc
disable-floc-easily/disable-floc-easily.php Passed 13 tests
The primary PHP file in "Disable FLoC Easily" version 1.2 is used by WordPress to initiate all plugin functionality
54 characters long description:
Easiest way to disable the Google's FLoC in WordPress.
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
Good job! No executable or dangerous file extensions detected306 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 46 | 27 | 236 |
CSS | 1 | 15 | 1 | 70 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 7.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 14.00 |
Average method complexity | 1.81 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 16 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 16 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 2 | 66.67% |
▷ Class constants | 1 | 33.33% |
▷ Public constants | 1 | 100.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 |
assets/websiteguider_logo.png | 4.88KB | 3.61KB | ▼ 26.00% |