83% banckle-crm

Code Review | Banckle CRM

WordPress plugin Banckle CRM scored83%from 54 tests.

About plugin

  • Plugin page: banckle-crm
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 2.0.2-3.9
  • WordPress version: 6.3.1
  • First release: Apr 30, 2014
  • Latest release: May 7, 2014
  • Number of updates: 5
  • Update frequency: every 2.4 days
  • Top authors: imranwar (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /1,457 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully

Server metrics [RAM: ▲0.02MB] [CPU: ▼5.91ms] Passed 4 tests

Analyzing server-side resources used by Banckle CRM
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0237.80 ▼4.20
Dashboard /wp-admin3.32 ▲0.0255.91 ▼0.66
Posts /wp-admin/edit.php3.37 ▲0.0248.79 ▼1.43
Add New Post /wp-admin/post-new.php5.90 ▲0.0289.66 ▼17.35
Media Library /wp-admin/upload.php3.25 ▲0.0242.17 ▲6.54

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

Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 7 new options
New WordPress options
widget_recent-posts
widget_bcrmcontactcaptureformwidget
db_upgraded
can_compress_scripts
theysaidso_admin_options
widget_recent-comments
widget_theysaidso_widget

Browser metrics Passed 4 tests

A check of browser resources used by Banckle CRM
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,789 ▲314.43 ▲0.071.96 ▼0.3144.09 ▲0.41
Dashboard /wp-admin2,198 ▲185.64 ▼0.0384.09 ▼5.7842.71 ▼9.02
Posts /wp-admin/edit.php2,103 ▲32.02 ▼0.0235.55 ▼1.6832.90 ▼4.22
Add New Post /wp-admin/post-new.php1,526 ▼023.02 ▲0.05679.68 ▲1.5465.04 ▲12.38
Media Library /wp-admin/upload.php1,400 ▼04.24 ▲0.10100.81 ▼3.9547.31 ▲4.07

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
  • The uninstall procedure has failed, leaving 7 options in the database
    • theysaidso_admin_options
    • widget_recent-posts
    • can_compress_scripts
    • widget_bcrmcontactcaptureformwidget
    • widget_recent-comments
    • db_upgraded
    • widget_theysaidso_widget

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested

SRP 50% from 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
  • 1× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/banckle-crm/bcrmcontactcaptureform.php:26

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side

Optimizations

Plugin configuration 87% from 29 tests

readme.txt 88% from 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need your attention:
  • Tags: Please delete some tags, you are using 15 tag instead of maximum 10
  • Screenshots: Add images for these screenshots: #1 (Banckle CRM Contact Capture Form Widget Code.), #2 (Banckle CRM Dashboard.), #3 (Banckle CRM Deals.)
Please take inspiration from this readme.txt

banckle-crm/bcrmcontactcaptureform.php 85% from 13 tests

The main file in "Banckle CRM" v. 1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
  • Main file name: The principal plugin file should be the same as the plugin slug ("banckle-crm.php" instead of "bcrmcontactcaptureform.php")
  • Description: Please keep the plugin description shorter than 140 characters (currently 385 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin63 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP1282663

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.04
Average class complexity2.00
▷ Minimum class complexity2.00
▷ Maximum class complexity2.00
Average method complexity1.20
▷ Minimum method complexity1.00
▷ Maximum method complexity2.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods5
▷ Static methods00.00%
▷ Public methods5100.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 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin