Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼138.71ms] Passed 4 tests
An overview of server-side resources used by The integration of the AMO.CRM
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.85 ▲0.13 | 46.81 ▲21.49 |
Dashboard /wp-admin | 3.08 ▲0.03 | 65.67 ▲16.06 |
Posts /wp-admin/edit.php | 3.13 ▲0.02 | 49.31 ▼1.82 |
Add New Post /wp-admin/post-new.php | 5.44 ▲0.00 | 97.75 ▼566.86 |
Media Library /wp-admin/upload.php | 3.02 ▲0.02 | 33.55 ▼2.20 |
Заявки /wp-admin/admin.php?page=amocrm/amo-admin-leads.php | 2.99 | 29.42 |
Настройки /wp-admin/admin.php?page=amocrm/amo-admin.php | 2.99 | 29.30 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 9 new files
Database: 1 new table, 2 new options
New tables |
---|
wp_amo |
New WordPress options |
---|
amo_leads_settings |
amo_leads_count |
Browser metrics Passed 4 tests
This is an overview of browser requirements for The integration of the AMO.CRM
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,713 ▲141 | 16.30 ▲0.42 | 12.87 ▼1.39 | 50.44 ▲2.43 |
Dashboard /wp-admin | 3,004 ▲70 | 5.92 ▼0.09 | 164.07 ▲6.86 | 124.81 ▲0.85 |
Posts /wp-admin/edit.php | 2,773 ▲34 | 2.72 ▲0.00 | 96.54 ▲23.12 | 99.75 ▲4.61 |
Add New Post /wp-admin/post-new.php | 1,637 ▼46 | 21.35 ▲2.89 | 326.35 ▼103.89 | 104.98 ▼14.05 |
Media Library /wp-admin/upload.php | 1,841 ▲34 | 5.04 ▼0.01 | 165.72 ▼1.09 | 123.56 ▲5.74 |
Заявки /wp-admin/admin.php?page=amocrm/amo-admin-leads.php | 1,082 | 2.14 | 61.14 | 61.37 |
Настройки /wp-admin/admin.php?page=amocrm/amo-admin.php | 1,129 | 2.08 | 60.09 | 77.02 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Uninstaller ran successfully
Smoke tests Passed 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 Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that require attention:
- Screenshots: Screenshot #1 (This screen shot description corresponds to screenshot-1.(png|jpg|jpeg|gif). Note that the screenshot is taken from) image not found
leads-for-amo-crm/amocrmleads.php 77% from 13 tests
The main file in "The integration of the AMO.CRM" v. 1.0.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Description: The description should be shorter than 140 characters (currently 154 characters long)
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("leads-for-amo-crm.php" instead of "amocrmleads.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin165 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 52 | 25 | 165 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 1.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 2.00 |
Average method complexity | 1.20 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 5 | |
▷ Static methods | 4 | 80.00% |
▷ Public methods | 5 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin