Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼2.99ms] Passed 4 tests
Server-side resources used by Политика конфиденциальности для сайта. Согласие под формами Contact-Form 7
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.06 | 46.67 ▲7.16 |
Dashboard /wp-admin | 3.36 ▲0.05 | 53.27 ▲1.98 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 49.65 ▼6.50 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 85.73 ▼12.92 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 41.60 ▲5.50 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Политика конфиденциальности для сайта. Согласие под формами Contact-Form 7
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,833 ▲72 | 14.37 ▼0.00 | 3.82 ▲2.10 | 58.20 ▲17.26 |
Dashboard /wp-admin | 2,214 ▲37 | 5.66 ▼0.00 | 95.60 ▲7.84 | 41.68 ▲3.08 |
Posts /wp-admin/edit.php | 2,119 ▲16 | 2.01 ▼0.02 | 34.48 ▼5.41 | 33.19 ▼4.58 |
Add New Post /wp-admin/post-new.php | 1,541 ▲4 | 23.46 ▲5.29 | 643.80 ▲34.37 | 58.17 ▼11.33 |
Media Library /wp-admin/upload.php | 1,416 ▲16 | 4.19 ▼0.17 | 96.58 ▼14.19 | 45.24 ▲2.86 |
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
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/russian-privacy-policy-page-and-notice/privacy-policy-cf7.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
1 plugin tags: 152
russian-privacy-policy-page-and-notice/privacy-policy-cf7.php 77% from 13 tests
The main file in "Политика конфиденциальности для сайта. Согласие под формами Contact-Form 7" v. 1.29 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Plugin Name: Please shorten the plugin name (currently 126 characters long instead of max. 70)
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 524 characters long)
- Main file name: Name the main plugin file the same as the plugin slug ("russian-privacy-policy-page-and-notice.php" instead of "privacy-policy-cf7.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin198 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 22 | 13 | 198 |
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.19 |
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 | 11 | |
▷ Named functions | 11 | 100.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