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.12MB] [CPU: ▼6.27ms] Passed 4 tests
This is a short check of server-side resources used by ClinicSoftware.com CRM
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.63 ▲0.13 | 38.05 ▼1.40 |
Dashboard /wp-admin | 3.48 ▲0.09 | 49.22 ▼17.88 |
Posts /wp-admin/edit.php | 3.59 ▲0.19 | 55.41 ▲4.93 |
Add New Post /wp-admin/post-new.php | 6.08 ▲0.15 | 97.07 ▼1.07 |
Media Library /wp-admin/upload.php | 3.40 ▲0.13 | 33.85 ▼4.74 |
FAQ /wp-admin/admin.php?page=clinicsoftwarecom-faq | 3.38 | 35.44 |
Settings /wp-admin/admin.php?page=clinicsoftwarecom-admin | 3.37 | 33.90 |
Status /wp-admin/admin.php?page=clinicsoftwarecom-status | 3.37 | 31.29 |
Fields /wp-admin/admin.php?page=clinicsoftwarecom-fields | 3.37 | 35.51 |
Mapping /wp-admin/admin.php?page=clinicsoftwarecom-mapping | 3.35 | 34.26 |
Server storage [IO: ▲0.44MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 37 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for ClinicSoftware.com CRM
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,832 ▲86 | 14.10 ▼0.25 | 1.65 ▲0.22 | 42.54 ▲2.21 |
Dashboard /wp-admin | 2,238 ▲60 | 5.65 ▼0.00 | 90.21 ▼13.66 | 39.92 ▲0.48 |
Posts /wp-admin/edit.php | 2,143 ▲46 | 2.02 ▼0.01 | 39.54 ▲0.16 | 36.19 ▼0.72 |
Add New Post /wp-admin/post-new.php | 1,561 ▲24 | 23.28 ▼1.57 | 646.97 ▼7.79 | 50.65 ▼17.32 |
Media Library /wp-admin/upload.php | 1,446 ▲49 | 4.12 ▼0.04 | 102.47 ▼10.92 | 44.32 ▼6.84 |
FAQ /wp-admin/admin.php?page=clinicsoftwarecom-faq | 982 | 2.04 | 26.35 | 28.93 |
Settings /wp-admin/admin.php?page=clinicsoftwarecom-admin | 881 | 2.00 | 23.50 | 26.08 |
Status /wp-admin/admin.php?page=clinicsoftwarecom-status | 817 | 2.03 | 23.90 | 23.23 |
Fields /wp-admin/admin.php?page=clinicsoftwarecom-fields | 1,332 | 2.00 | 22.43 | 29.38 |
Mapping /wp-admin/admin.php?page=clinicsoftwarecom-mapping | 814 | 2.15 | 24.95 | 30.08 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Almost there, just fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=clinicsoftwarecom-mapping
- > Warning in wp-includes/pluggable.php+1438
Cannot modify header information - headers already sent by (output started at wp-includes/script-loader.php:2838)
SRP 0% 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
The following issues need your attention
- 3× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/clinicsoftware-com-crm/admin/partials/mapping_page.php
- > /wp-content/plugins/clinicsoftware-com-crm/admin/partials/permission_denied.php
- > /wp-content/plugins/clinicsoftware-com-crm/admin/partials/status_page.php
- 3× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function admin_url() in wp-content/plugins/clinicsoftware-com-crm/admin/partials/settings_page.php:27
- > PHP Fatal error
Uncaught Error: Call to undefined function admin_url() in wp-content/plugins/clinicsoftware-com-crm/admin/partials/fields_page.php:30
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/clinicsoftware-com-crm/admin/partials/faq_page.php:15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
- Screenshots: These screenshots require images: #1 (screenshot-1.png), #2 (screenshot-2.png), #3 (screenshot-3.png)
- Plugin Name: You should set the name of your plugin on the first line (
=== clinicsoftware-com-crm ===
)
clinicsoftware-com-crm/clinicsoftwarecom_crm.php 85% from 13 tests
"ClinicSoftware.com CRM" version 1.1.2'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 follows the same naming rules as the plugin slug: lowercase characters and dashes
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("clinicsoftware-com-crm.php" instead of "clinicsoftwarecom_crm.php")
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
Good job! No executable or dangerous file extensions detected1,034 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 17 | 235 | 640 | 1,031 |
JavaScript | 1 | 2 | 27 | 3 |
CSS | 1 | 0 | 4 | 0 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 10.88 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 32.00 |
Average method complexity | 2.44 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 21.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 55 | |
▷ Static methods | 2 | 3.64% |
▷ Public methods | 43 | 78.18% |
▷ Protected methods | 5 | 9.09% |
▷ Private methods | 7 | 12.73% |
Functions | 3 | |
▷ Named functions | 3 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
11 PNG files occupy 0.36MB with 0.19MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-1.png | 40.19KB | 19.38KB | ▼ 51.79% |
assets/faq/connection_failed.png | 9.89KB | 4.84KB | ▼ 51.07% |
assets/screenshot-3.png | 42.84KB | 21.61KB | ▼ 49.56% |
assets/faq/salon_example.png | 55.14KB | 19.85KB | ▼ 64.00% |
assets/faq/crm_api_clients.png | 49.49KB | 22.24KB | ▼ 55.05% |