84% integrate-clientify

Code Review | Integrate with Clientify

WordPress plugin Integrate with Clientify scored84%from 54 tests.

About plugin

  • Plugin page: integrate-clientify
  • Plugin version: 0.5.0
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-5.9
  • WordPress version: 6.3.1
  • First release: Apr 2, 2021
  • Latest release: Nov 24, 2022
  • Number of updates: 9
  • Update frequency: every 66.8 days
  • Top authors: closemarketing (100%)

Code review

54 tests

User reviews

1 review

Install metrics

100+ active /2,079 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully

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

An overview of server-side resources used by Integrate with Clientify
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0045.43 ▼3.51
Dashboard /wp-admin3.32 ▼0.0248.90 ▼15.72
Posts /wp-admin/edit.php3.37 ▲0.0248.79 ▼3.83
Add New Post /wp-admin/post-new.php5.90 ▲0.01101.73 ▼6.45
Media Library /wp-admin/upload.php3.24 ▲0.0237.17 ▲1.42
Clientify Integration /wp-admin/options-general.php?page=intclientify_admin3.2128.40

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

Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-comments
theysaidso_admin_options
widget_recent-posts
widget_theysaidso_widget
can_compress_scripts
db_upgraded

Browser metrics Passed 4 tests

A check of browser resources used by Integrate with Clientify
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,819 ▲5813.28 ▼0.941.59 ▼0.2640.02 ▼5.59
Dashboard /wp-admin2,222 ▲164.84 ▼0.03113.12 ▲2.2141.33 ▼4.98
Posts /wp-admin/edit.php2,104 ▲42.05 ▲0.0538.82 ▼2.3136.87 ▼1.48
Add New Post /wp-admin/post-new.php1,536 ▼623.54 ▲5.16659.65 ▲46.9659.18 ▲4.13
Media Library /wp-admin/upload.php1,404 ▲14.26 ▲0.02101.87 ▼1.8144.42 ▼2.91
Clientify Integration /wp-admin/options-general.php?page=intclientify_admin8262.0325.0029.55

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
  • This plugin does not fully uninstall, leaving 6 options in the database
    • widget_recent-posts
    • widget_theysaidso_widget
    • can_compress_scripts
    • widget_recent-comments
    • db_upgraded
    • theysaidso_admin_options

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not 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
Almost there! Just fix the following items
  • 1× PHP files perform the task of outputting text when accessed with GET requests:
    • > /wp-content/plugins/integrate-clientify/integrate-clientify.php

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
1 plugin tags: custom-admin

integrate-clientify/integrate-clientify.php 92% from 13 tests

The main PHP script in "Integrate with Clientify" version 0.5.0 is automatically included on every request by WordPress
Please take the time to fix the following:
  • Domain Path: The domain path is invalid: folder "/languages" does not exist

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 plugin162 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
PHP328113162

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.37
Average class complexity8.50
▷ Minimum class complexity7.00
▷ Maximum class complexity10.00
Average method complexity2.25
▷ Minimum method complexity1.00
▷ Maximum method complexity5.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes2
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes00.00%
Methods12
▷ Static methods00.00%
▷ Public methods12100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions1
▷ Named functions1100.00%
▷ Anonymous functions00.00%
Constants1
▷ Global constants1100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin