Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼7.98ms] Passed 4 tests
Server-side resources used by Privacy Builder
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 40.10 ▼0.69 |
Dashboard /wp-admin | 3.32 ▲0.01 | 56.70 ▲5.85 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 52.03 ▼5.63 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 87.38 ▼24.08 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 37.20 ▼1.52 |
PrivacyBuilder /wp-admin/options-general.php?page=my-unique-identifier | 3.21 | 35.24 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Privacy Builder
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,884 ▲123 | 13.89 ▼0.47 | 8.07 ▲6.36 | 39.98 ▼5.48 |
Dashboard /wp-admin | 2,200 ▲23 | 5.64 ▲0.01 | 86.71 ▼5.35 | 44.09 ▲0.76 |
Posts /wp-admin/edit.php | 2,111 ▲8 | 2.03 ▲0.03 | 38.61 ▼4.65 | 34.30 ▼2.92 |
Add New Post /wp-admin/post-new.php | 1,533 ▲5 | 23.66 ▲0.55 | 683.04 ▲26.28 | 56.76 ▼4.84 |
Media Library /wp-admin/upload.php | 1,408 ▲8 | 4.27 ▲0.06 | 99.10 ▼1.94 | 41.82 ▼5.10 |
PrivacyBuilder /wp-admin/options-general.php?page=my-unique-identifier | 822 | 1.85 | 25.59 | 22.81 |
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
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
Smoke tests 75% 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 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
The following issues need your attention
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/privacybuilder/privacybuilder.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that require attention:
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== privacybuilder ===
)
privacybuilder/privacybuilder.php Passed 13 tests
This is the main PHP file of "Privacy Builder" version 1.0.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
29 characters long description:
Privacy Builder configuration
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 plugin318 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 57 | 83 | 177 |
PHP | 1 | 33 | 13 | 141 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.11 |
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 | 10 | |
▷ Named functions | 9 | 90.00% |
▷ Anonymous functions | 1 | 10.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
All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin