Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.04MB] [CPU: ▼7.64ms] Passed 4 tests
An overview of server-side resources used by Simple Customer CRM Plugin
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 36.33 ▼4.67 |
Dashboard /wp-admin | 3.35 ▲0.01 | 59.06 ▼3.51 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 50.30 ▲0.49 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 86.03 ▼22.86 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 37.38 ▲4.30 |
Customers /wp-admin/edit.php?post_type=sccrm_customer | 3.32 | 37.72 |
Categories /wp-admin/edit-tags.php?taxonomy=customer_category&post_type=sccrm_customer | 3.36 | 35.42 |
Tags /wp-admin/edit-tags.php?taxonomy=customer_tag&post_type=sccrm_customer | 3.27 | 36.97 |
Server storage [IO: ▲0.19MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Simple Customer CRM Plugin
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,943 ▲197 | 13.65 ▼0.72 | 7.51 ▲5.86 | 53.82 ▲12.50 |
Dashboard /wp-admin | 2,231 ▲43 | 5.89 ▼0.07 | 97.78 ▼5.46 | 40.43 ▼4.54 |
Posts /wp-admin/edit.php | 2,117 ▲28 | 2.03 ▲0.06 | 39.66 ▼0.04 | 35.26 ▼0.33 |
Add New Post /wp-admin/post-new.php | 1,556 ▲37 | 23.75 ▲0.49 | 694.36 ▲91.09 | 63.29 ▲11.89 |
Media Library /wp-admin/upload.php | 1,416 ▲31 | 4.22 ▲0.02 | 110.65 ▲7.48 | 48.55 ▲3.59 |
Customers /wp-admin/edit.php?post_type=sccrm_customer | 1,137 | 2.00 | 37.03 | 31.43 |
Categories /wp-admin/edit-tags.php?taxonomy=customer_category&post_type=sccrm_customer | 1,293 | 2.13 | 25.41 | 28.81 |
Tags /wp-admin/edit-tags.php?taxonomy=customer_tag&post_type=sccrm_customer | 1,287 | 2.14 | 26.45 | 27.75 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
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
Good news, no errors were detected
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 trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/simple-customer-crm/template/customer-form.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, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
- Screenshots: No descriptions were found for these screenshots #1, #2, #3 in simple-customer-crm/assets to your readme.txt
simple-customer-crm/simple-customer-crm.php 92% from 13 tests
"Simple Customer CRM Plugin" version 1.0.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Text Domain: The text domain follows the same naming rules as the plugin slug: lowercase characters and dashes
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin1,679 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 246 | 187 | 1,265 |
PHP | 2 | 22 | 38 | 383 |
CSS | 2 | 0 | 4 | 31 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 25.00 |
▷ Minimum class complexity | 25.00 |
▷ Maximum class complexity | 25.00 |
Average method complexity | 2.85 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 13 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 13 | 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 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There are no PNG files in this plugin