Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.05MB] [CPU: ▼8.04ms] Passed 4 tests
Server-side resources used by Cookieless Privacy-Focused Google Analytics
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.04 | 41.68 ▲3.38 |
Dashboard /wp-admin | 3.36 ▲0.06 | 44.96 ▼6.09 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 45.36 ▼2.82 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 79.40 ▼23.26 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 33.97 ▲0.01 |
Cookieless Google Analytics /wp-admin/options-general.php?page=cookieless_privacy_focused_google_analytics | 3.25 | 36.78 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Cookieless Privacy-Focused Google Analytics
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 13.23 ▼1.06 | 1.64 ▼0.06 | 43.40 ▲1.40 |
Dashboard /wp-admin | 2,207 ▲21 | 5.84 ▼0.09 | 99.94 ▼14.48 | 39.28 ▼2.81 |
Posts /wp-admin/edit.php | 2,093 ▲1 | 2.05 ▲0.07 | 36.38 ▼5.49 | 32.79 ▼4.31 |
Add New Post /wp-admin/post-new.php | 1,536 ▼6 | 23.22 ▲4.61 | 636.45 ▼24.90 | 59.72 ▼6.54 |
Media Library /wp-admin/upload.php | 1,392 ▲7 | 4.17 ▼0.10 | 94.46 ▼5.25 | 40.54 ▼4.45 |
Cookieless Google Analytics /wp-admin/options-general.php?page=cookieless_privacy_focused_google_analytics | 821 | 2.02 | 23.27 | 27.26 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP Passed 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
The SRP test was a success
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 96% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
6 plugin tags: privacy, gdpr, cookie, cookies, analytics...
cookieless-privacy-focused-google-analytics/cookieless-privacy-focused-google-analytics.php 92% from 13 tests
The entry point to "Cookieless Privacy-Focused Google Analytics" version 1.0.1 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Description: The description should be shorter than 140 characters (currently 149 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin231 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 53 | 86 | 231 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
Average class complexity | 29.00 |
▷ Minimum class complexity | 29.00 |
▷ Maximum class complexity | 29.00 |
Average method complexity | 3.80 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 10 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 10 | 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 | 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
No PNG images were found in this plugin