Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
It is recommended to fix the following installer errors
- Install procedure validation failed for this plugin
- > Notice in wp-content/plugins/ams-google-webmaster-tools/ams-google-webmaster-tools.php+84
Undefined variable: amsgwmt_webmaster_manoj_s_vrathan
Server metrics [RAM: ▼1.94MB] [CPU: ▼58.68ms] Passed 4 tests
This is a short check of server-side resources used by AMS Google Webmaster Tools
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.06 ▼1.40 | 4.78 ▼39.47 |
Dashboard /wp-admin | 2.08 ▼1.27 | 5.41 ▼56.21 |
Posts /wp-admin/edit.php | 2.08 ▼1.28 | 5.43 ▼44.35 |
Add New Post /wp-admin/post-new.php | 2.08 ▼3.81 | 6.10 ▼94.69 |
Media Library /wp-admin/upload.php | 2.08 ▼1.15 | 6.10 ▼27.23 |
AMS Google Webmaster Tools /wp-admin/options-general.php?page=amsgwmt_webmaster_tools | 2.08 | 5.15 |
Server storage [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for AMS Google Webmaster Tools
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,821 ▲60 | 13.34 ▼1.04 | 4.83 ▲3.14 | 42.24 ▼1.87 |
Dashboard /wp-admin | 2,228 ▲25 | 5.86 ▼0.18 | 109.28 ▲1.68 | 43.09 ▲3.82 |
Posts /wp-admin/edit.php | 2,104 ▲7 | 2.00 ▼0.04 | 41.70 ▲4.46 | 36.33 ▼0.69 |
Add New Post /wp-admin/post-new.php | 1,548 ▲8 | 23.13 ▼0.33 | 663.90 ▲20.61 | 51.85 ▲5.62 |
Media Library /wp-admin/upload.php | 1,401 ▼2 | 4.24 ▲0.03 | 99.20 ▼1.05 | 45.43 ▲0.36 |
AMS Google Webmaster Tools /wp-admin/options-general.php?page=amsgwmt_webmaster_tools | 813 | 2.14 | 22.58 | 27.03 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% 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 plugin did not uninstall gracefully
- > Notice in wp-content/plugins/ams-google-webmaster-tools/ams-google-webmaster-tools.php+84
Undefined variable: amsgwmt_webmaster_manoj_s_vrathan
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These server-side errors were triggered
- > GET request to /wp-admin/options-general.php?page=amsgwmt_webmaster_tools
- > Notice in wp-content/plugins/ams-google-webmaster-tools/ams-google-webmaster-tools.php+84
Undefined variable: amsgwmt_webmaster_manoj_s_vrathan
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
Please fix the following items
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_nonce_field() in wp-content/plugins/ams-google-webmaster-tools/includes/amsgwmt-options.php:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 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
10 plugin tags: code, verification, plugin, google webmaster tools, tracking code...
ams-google-webmaster-tools/ams-google-webmaster-tools.php 92% from 13 tests
"AMS Google Webmaster Tools" version 1.3's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin65 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 20 | 20 | 65 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 4.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 4.00 |
Average method complexity | 1.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.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 | 9 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 9 | 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 | 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