84% 1clicksuite

Code Review | 1clicksuite

WordPress plugin 1clicksuite scored 84% from 54 tests.

About plugin

  • Plugin page: 1clicksuite
  • Plugin version: 1.5
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-5.4
  • WordPress version: 6.3.1
  • First release: Aug 5, 2020
  • Latest release: Aug 14, 2020
  • Number of updates: 7
  • Update frequency: every 2.1 days
  • Top authors: infoalberghi (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 679 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: ▼2.07ms] Passed 4 tests

Server-side resources used by 1clicksuite
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0241.34 ▲5.73
Dashboard /wp-admin3.32 ▲0.0244.20 ▼1.71
Posts /wp-admin/edit.php3.38 ▲0.0247.84 ▲3.11
Add New Post /wp-admin/post-new.php5.91 ▲0.0293.94 ▼8.22
Media Library /wp-admin/upload.php3.25 ▲0.0232.39 ▼1.44

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

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

Browser metrics Passed 4 tests

A check of browser resources used by 1clicksuite
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,802 ▲6714.48 ▼0.161.75 ▲0.0541.26 ▼1.77
Dashboard /wp-admin2,206 ▲185.86 ▲0.97103.58 ▼11.9040.97 ▼3.82
Posts /wp-admin/edit.php2,089 ▼02.05 ▲0.0540.25 ▼0.9336.03 ▲3.72
Add New Post /wp-admin/post-new.php1,537 ▼523.19 ▲4.75585.50 ▼77.2549.11 ▼8.80
Media Library /wp-admin/upload.php1,385 ▼64.21 ▼0.0394.33 ▼6.8739.73 ▼6.02

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_recent-comments
    • widget_theysaidso_widget
    • can_compress_scripts
    • db_upgraded
    • theysaidso_admin_options
    • widget_recent-posts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
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
The following issues need your attention
  • 3× PHP files output text when accessed directly:
    • > /wp-content/plugins/1clicksuite/1click_function.php
    • > /wp-content/plugins/1clicksuite/1click_scripts_style.php
    • > /wp-content/plugins/1clicksuite/1clicksuite-compatible.php

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
2 plugin tags: cf7, 1clicksuite

1clicksuite/1clicksuite-compatible.php 92% from 13 tests

Analyzing the main PHP file in "1clicksuite" version 1.5
It is important to fix the following:
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("1clicksuite.php" instead of "1clicksuite-compatible.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin107 lines of code in 5 files:
LanguageFilesBlank linesComment linesLines of code
PHP4261465
CSS1148942

PHP code Passed 2 tests

This is a very shot review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.51
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%
Functions2
▷ Named functions2100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.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
PNG images were not found in this plugin