Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼5.07ms] Passed 4 tests
Analyzing server-side resources used by Plugin Name: amoCRM WebForm
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 38.21 ▼1.34 |
Dashboard /wp-admin | 3.31 ▲0.01 | 46.74 ▼0.54 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 44.52 ▼7.06 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 88.27 ▼11.32 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 35.81 ▲5.40 |
Server storage [IO: ▲0.38MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Plugin Name: amoCRM WebForm
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,837 ▲102 | 14.73 ▲0.35 | 1.83 ▲0.18 | 42.66 ▲3.38 |
Dashboard /wp-admin | 2,213 ▲28 | 4.91 ▼0.94 | 99.90 ▼3.37 | 39.27 ▼5.22 |
Posts /wp-admin/edit.php | 2,093 ▲7 | 2.05 ▼0.01 | 37.58 ▲1.83 | 35.20 ▲0.33 |
Add New Post /wp-admin/post-new.php | 1,532 ▲18 | 23.21 ▲5.73 | 651.66 ▲1.25 | 64.42 ▲19.95 |
Media Library /wp-admin/upload.php | 1,386 ▼5 | 4.28 ▼0.05 | 97.36 ▼1.45 | 40.77 ▼1.12 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
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 everything seems fine, this is not 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
Almost there! Just fix the following items
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/amocrm-webform/amocrm.php:54
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 79% from 29 tests
readme.txt 75% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that need to be fixed:
- Tags: You are using too many tags: 36 tag instead of maximum 10
- Screenshots: These screenshots require images: #1 (Configure your form and get the shortcode), #2 (Search result for “amoCRM” in your WordPress admin area), #3 (Usage of shortcode example), #4 (Working form on your website which captures the amoCRM leads)
- Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line (
=== Plugin Name: amoCRM WebForm ===
) - Contributors: Contributors not specified
amocrm-webform/amocrm.php 85% from 13 tests
This is the main PHP file of "Plugin Name: amoCRM WebForm" version 1.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
The following require your attention:
- Description: Please keep the plugin description shorter than 140 characters (currently 173 characters long)
- Main file name: It is recommended to name the main PHP file as the plugin slug ("amocrm-webform.php" instead of "amocrm.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
No dangerous file extensions were detected32 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 16 | 10 | 32 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
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 | 2 | |
▷ Named functions | 2 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG files were detected