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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.13MB] [CPU: ▲1.07ms] Passed 4 tests
Server-side resources used by CRM Pro
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.13 | 41.35 ▼2.58 |
Dashboard /wp-admin | 3.43 ▲0.13 | 56.77 ▲6.92 |
Posts /wp-admin/edit.php | 3.55 ▲0.19 | 47.40 ▲1.50 |
Add New Post /wp-admin/post-new.php | 6.03 ▲0.15 | 88.85 ▼1.57 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 39.99 ▲7.85 |
API Settings /wp-admin/admin.php?page=crm-pro | 3.33 | 31.26 |
Chat /wp-admin/admin.php?page=crm-pro-chat | 3.33 | 32.67 |
Forms /wp-admin/admin.php?page=crm-pro-form | 3.33 | 31.52 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 26 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
CRM Pro: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,961 ▲204 | 13.93 ▼0.72 | 9.00 ▲6.96 | 41.55 ▼2.75 |
Dashboard /wp-admin | 2,263 ▲78 | 4.92 ▲0.05 | 111.96 ▼6.97 | 42.14 ▼4.38 |
Posts /wp-admin/edit.php | 2,142 ▲53 | 2.06 ▲0.05 | 34.96 ▲0.43 | 33.70 ▼0.56 |
Add New Post /wp-admin/post-new.php | 1,552 ▲19 | 18.55 ▼4.65 | 605.07 ▼45.11 | 55.35 ▲7.52 |
Media Library /wp-admin/upload.php | 1,441 ▲53 | 4.26 ▲0.06 | 94.36 ▼9.09 | 41.83 ▼2.94 |
API Settings /wp-admin/admin.php?page=crm-pro | 884 | 1.69 | 25.85 | 31.91 |
Chat /wp-admin/admin.php?page=crm-pro-chat | 900 | 1.71 | 25.64 | 29.68 |
Forms /wp-admin/admin.php?page=crm-pro-form | 867 | 1.72 | 27.00 | 27.37 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
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 applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/crm-pro/public/partials/crm-pro-public-display.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that need to be fixed:
- Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line (
=== crm-pro ===
)
crm-pro/crm-pro.php Passed 13 tests
The main file in "CRM Pro" v. 1.0.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
57 characters long description:
Connect Your CRM. Automate on WordPress. Grow Your Leads.
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
No dangerous file extensions were detected727 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 15 | 223 | 713 | 605 |
CSS | 2 | 1 | 10 | 98 |
JavaScript | 2 | 7 | 27 | 23 |
SVG | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 9.29 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 45.00 |
Average method complexity | 2.49 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 39 | |
▷ Static methods | 2 | 5.13% |
▷ Public methods | 34 | 87.18% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 12.82% |
Functions | 6 | |
▷ Named functions | 6 | 100.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
PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected