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 gracefully, with no errors
Server metrics [RAM: ▲0.17MB] [CPU: ▼3.82ms] Passed 4 tests
Analyzing server-side resources used by Simple Privacy Helper
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.65 ▲0.19 | 40.54 ▼0.86 |
Dashboard /wp-admin | 3.47 ▲0.17 | 47.02 ▼10.57 |
Posts /wp-admin/edit.php | 3.58 ▲0.23 | 47.85 ▼0.96 |
Add New Post /wp-admin/post-new.php | 6.05 ▲0.16 | 95.31 ▼2.90 |
Media Library /wp-admin/upload.php | 3.39 ▲0.16 | 35.89 ▲3.70 |
Simple Privacy Helper /wp-admin/options-general.php?page=simple-simple-privacy-helper | 3.36 | 40.42 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 8 new files
Database: no new tables, 12 new options
New WordPress options |
---|
privacy_comments |
widget_recent-comments |
privacy_registration |
db_upgraded |
privacy_ssl |
theysaidso_admin_options |
privacyHelperVersion |
privacy_yt |
can_compress_scripts |
privacy_cf7 |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Simple Privacy Helper
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲47 | 13.17 ▼1.13 | 1.91 ▼0.19 | 44.04 ▼4.80 |
Dashboard /wp-admin | 2,210 ▲22 | 4.85 ▼1.03 | 107.38 ▼7.80 | 37.28 ▼6.33 |
Posts /wp-admin/edit.php | 2,090 ▲1 | 2.03 ▲0.01 | 39.29 ▲1.98 | 34.26 ▼5.80 |
Add New Post /wp-admin/post-new.php | 1,537 ▲17 | 23.30 ▲0.16 | 676.69 ▲2.10 | 51.64 ▼2.26 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.28 ▲0.02 | 103.84 ▼3.46 | 46.18 ▲0.41 |
Simple Privacy Helper /wp-admin/options-general.php?page=simple-simple-privacy-helper | 980 | 2.03 | 25.06 | 28.08 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 12 options
- privacyHelperVersion
- can_compress_scripts
- privacy_yt
- widget_recent-posts
- privacy_comments
- theysaidso_admin_options
- privacy_registration
- privacy_cf7
- privacy_ssl
- db_upgraded
- ...
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 0% from 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
Please fix the following
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/simple-privacy-helper/index.php
- 5× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'PrivacyHelper' not found in wp-content/plugins/simple-privacy-helper/extensions/privacy-yt.php:3
- > PHP Fatal error
Uncaught Error: Class 'PrivacyHelper' not found in wp-content/plugins/simple-privacy-helper/extensions/privacy-comments.php:3
- > PHP Fatal error
Uncaught Error: Class 'PrivacyHelper' not found in wp-content/plugins/simple-privacy-helper/extensions/privacy-ssl.php:3
- > PHP Fatal error
Uncaught Error: Class 'PrivacyHelper' not found in wp-content/plugins/simple-privacy-helper/extensions/privacy-cf7.php:3
- > PHP Fatal error
Uncaught Error: Class 'PrivacyHelper' not found in wp-content/plugins/simple-privacy-helper/extensions/privacy-registration.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need your attention:
- License uri: Please fix this invalid url: "www.gnu.org/licenses/gpl-2.0.html"
simple-privacy-helper/index.php 85% from 13 tests
The principal PHP file in "Simple Privacy Helper" v. 1.4.3.1 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Domain Path: The domain path is invalid: folder "/languages/" does not exist
- Main file name: The principal plugin file should be the same as the plugin slug ("simple-privacy-helper.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin721 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 302 | 124 | 721 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 12.86 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 28.00 |
Average method complexity | 2.60 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 52 | |
▷ Static methods | 1 | 1.92% |
▷ Public methods | 31 | 59.62% |
▷ Protected methods | 1 | 1.92% |
▷ Private methods | 20 | 38.46% |
Functions | 2 | |
▷ Named functions | 2 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin