84% crm-pro

Code Review | CRM Pro

WordPress plugin CRM Pro scored 84% from 54 tests.

About plugin

  • Plugin page: crm-pro
  • Plugin version: 1.0.2
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-5.9
  • WordPress version: 6.3.1
  • First release: May 4, 2022
  • Latest release: May 4, 2022
  • Number of updates: 4
  • Update frequency: every 0.3 days
  • Top authors: crmprodevs (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 244 total downloads


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
PageMemory (MB)CPU Time (ms)
Home /3.59 ▲0.1341.35 ▼2.58
Dashboard /wp-admin3.43 ▲0.1356.77 ▲6.92
Posts /wp-admin/edit.php3.55 ▲0.1947.40 ▲1.50
Add New Post /wp-admin/post-new.php6.03 ▲0.1588.85 ▼1.57
Media Library /wp-admin/upload.php3.36 ▲0.1339.99 ▲7.85
API Settings /wp-admin/admin.php?page=crm-pro3.3331.26
Chat /wp-admin/admin.php?page=crm-pro-chat3.3332.67
Forms /wp-admin/admin.php?page=crm-pro-form3.3331.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

Browser metrics Passed 4 tests

CRM Pro: an overview of browser usage
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,961 ▲20413.93 ▼0.729.00 ▲6.9641.55 ▼2.75
Dashboard /wp-admin2,263 ▲784.92 ▲0.05111.96 ▼6.9742.14 ▼4.38
Posts /wp-admin/edit.php2,142 ▲532.06 ▲0.0534.96 ▲0.4333.70 ▼0.56
Add New Post /wp-admin/post-new.php1,552 ▲1918.55 ▼4.65605.07 ▼45.1155.35 ▲7.52
Media Library /wp-admin/upload.php1,441 ▲534.26 ▲0.0694.36 ▼9.0941.83 ▼2.94
API Settings /wp-admin/admin.php?page=crm-pro8841.6925.8531.91
Chat /wp-admin/admin.php?page=crm-pro-chat9001.7125.6429.68
Forms /wp-admin/admin.php?page=crm-pro-form8671.7227.0027.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


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 === )
You can look at the official readme.txt

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:
LanguageFilesBlank linesComment linesLines of code

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 code0.28
Average class complexity9.29
▷ Minimum class complexity1.00
▷ Maximum class complexity45.00
Average method complexity2.49
▷ Minimum method complexity1.00
▷ Maximum method complexity13.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes7100.00%
▷ Final classes00.00%
▷ Static methods25.13%
▷ Public methods3487.18%
▷ Protected methods00.00%
▷ Private methods512.82%
▷ Named functions6100.00%
▷ Anonymous functions00.00%
▷ Global constants1100.00%
▷ Class constants00.00%
▷ Public constants00.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