94% crm2go

Code Review | CRM 2go - Formulario de contacto

WordPress plugin CRM 2go - Formulario de contacto scored 94% from 53 tests.

About plugin

  • Plugin page: crm2go
  • Plugin version: 1.0
  • PHP compatiblity: 5.2+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.4-4.9.4
  • WordPress version: 5.8.1
  • First release: Mar 31, 2018
  • Latest release: Mar 31, 2018
  • Number of updates: 2
  • Update frequency: N/A
  • Top authors: nrmendez (100%)

Code review

53 tests

User reviews

1 review

Install metrics

30+ active / 884 total downloads

Benchmarks

Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully

Server metrics [RAM: ▲0.00MB] [CPU: ▼281.77ms] Passed 4 tests

Analyzing server-side resources used by CRM 2go - Formulario de contacto
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /2.84 ▲0.0133.87 ▲6.84
Dashboard /wp-admin3.06 ▲0.0144.55 ▼2.06
Posts /wp-admin/edit.php3.11 ▲0.0144.94 ▼0.73
Add New Post /wp-admin/post-new.php5.43 ▼0.0091.16 ▼1,117.54
Media Library /wp-admin/upload.php3.01 ▼0.0031.39 ▼6.73

Server storage [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 3 tests

A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 2 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

An overview of browser requirements for CRM 2go - Formulario de contacto
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,674 ▲6815.83 ▲0.428.58 ▼0.5453.55 ▲10.53
Dashboard /wp-admin2,931 ▲815.89 ▲0.08134.71 ▲2.76106.17 ▼2.11
Posts /wp-admin/edit.php2,706 ▼02.70 ▲0.0166.95 ▲2.3586.62 ▼9.16
Add New Post /wp-admin/post-new.php1,651 ▼217.40 ▼1.34348.96 ▼13.76111.21 ▲10.13
Media Library /wp-admin/upload.php1,775 ▼05.00 ▲0.00140.76 ▼13.68112.09 ▲1.55

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The plugin uninstalled successfully, without leaving any zombie files or tables

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 fix the following items
  • 1× PHP files trigger errors when accessed directly with GET requests:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/crm2go/crm2go.php:40

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)
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
6 plugin tags: crm, dynamics, e-business, 2go, sugar...

crm2go/crm2go.php 92% from 13 tests

Analyzing the main PHP file in "CRM 2go - Formulario de contacto" version 1.0
Please take the time to fix the following:
  • Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 168 characters long)

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
Everything looks great! No dangerous files found in this plugin29 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP14929

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.80
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions1
▷ Named functions1100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 1 test

Image compression Passed 1 test

All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin