Benchmarks
Plugin footprint 82% 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.04MB] [CPU: ▼3.19ms] Passed 4 tests
Server-side resources used by WP Site Verification tool
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 43.32 ▼1.32 |
Dashboard /wp-admin | 3.35 ▲0.04 | 55.29 ▲1.27 |
Posts /wp-admin/edit.php | 3.46 ▲0.10 | 55.68 ▲2.17 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 88.19 ▼9.80 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 36.46 ▼2.89 |
Site Verification /wp-admin/tools.php?page=wp-site-verification-tool_manage | 3.28 | 33.99 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] 67% from 3 tests
Filesystem and database footprint
Please fix the following
- Illegal file modification detected: 1 file (4.00KB) outside of "wp-content/plugins/wp-site-verification-tool/" and "wp-content/uploads/"
- (new file) wp-content/mgd_mirror/mgd_maximinodotpy-gitdown-test-repository
Filesystem: 16 new files
Database: no new tables, 10 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
wp-site-verification-tool_wp_site_verification_tool_contents |
db_upgraded |
wp-site-verification-tool_wp_site_verification_tool_on |
can_compress_scripts |
wp-site-verification-tool_wp_site_verification_tool_file |
wp-site-verification-tool_wp_site_verification_tool_via_file |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for WP Site Verification tool
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,819 ▲58 | 13.61 ▼0.79 | 1.69 ▼0.20 | 44.39 ▼0.28 |
Dashboard /wp-admin | 2,225 ▲22 | 5.83 ▲0.72 | 104.24 ▼10.50 | 39.67 ▼6.80 |
Posts /wp-admin/edit.php | 2,104 ▲7 | 2.03 ▲0.01 | 40.37 ▲1.92 | 35.61 ▲1.10 |
Add New Post /wp-admin/post-new.php | 1,548 ▲17 | 23.39 ▲0.19 | 680.58 ▼0.85 | 54.41 ▲3.43 |
Media Library /wp-admin/upload.php | 1,407 ▲7 | 4.26 ▲0.10 | 95.12 ▼24.75 | 46.06 ▼4.91 |
Site Verification /wp-admin/tools.php?page=wp-site-verification-tool_manage | 904 | 1.71 | 27.04 | 26.22 |
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
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
- 4× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'wp_site_verification_tool' not found in wp-content/plugins/wp-site-verification-tool/form/wp-site-verification-tool.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-site-verification-tool/lib/class-site-verification-tool.php:10
- > PHP Fatal error
Uncaught Error: Class 'wp_site_verification_tool' not found in wp-content/plugins/wp-site-verification-tool/form/options-form.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-site-verification-tool/lib/class-site-verification-tool.php:10
- > 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 Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
5 plugin tags: webmaster, vip, tool, site verification, certification
wp-site-verification-tool/wp-site-verification-tool.php Passed 13 tests
The main PHP script in "WP Site Verification tool" version 1.0.8 is automatically included on every request by WordPress
69 characters long description:
A tool to enable verification of site ownership via file or meta tag.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected367 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 40 | 70 | 340 |
CSS | 1 | 2 | 0 | 18 |
JavaScript | 1 | 4 | 0 | 9 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
Average class complexity | 6.00 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 8.00 |
Average method complexity | 1.79 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 19 | |
▷ Static methods | 16 | 84.21% |
▷ Public methods | 18 | 94.74% |
▷ Protected methods | 1 | 5.26% |
▷ 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
There were not PNG files found in your plugin