90% ssl-certificate-manager

Code Review | SSL Certificate Manager

WordPress plugin SSL Certificate Manager scored90%from 54 tests.

About plugin

  • Plugin page: ssl-certificate-m...
  • Plugin version: 1.0.0
  • PHP compatiblity: 5.2.17+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-5.8.1
  • WordPress version: 6.3.1
  • First release: Oct 9, 2021
  • Latest release: Oct 9, 2021
  • Number of updates: 4
  • Update frequency: every 0.3 days
  • Top authors: shenliqing (100%)

Code review

54 tests

User reviews

1 review

Install metrics

1,000+ active /4,283 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully

Server metrics [RAM: ▲0.05MB] [CPU: ▼4.55ms] Passed 4 tests

An overview of server-side resources used by SSL Certificate Manager
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.52 ▲0.0538.19 ▲1.95
Dashboard /wp-admin3.35 ▲0.0544.54 ▼4.74
Posts /wp-admin/edit.php3.47 ▲0.1147.56 ▼2.83
Add New Post /wp-admin/post-new.php5.94 ▲0.0583.47 ▼12.57
Media Library /wp-admin/upload.php3.28 ▲0.0435.04 ▲2.75
SSL Certificate /wp-admin/options-general.php?page=ssl-certificate-manager3.4529.09

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

A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 11 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

An overview of browser requirements for SSL Certificate Manager
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,793 ▲3214.35 ▼0.011.77 ▲0.0143.63 ▲7.23
Dashboard /wp-admin2,202 ▲215.58 ▼0.3591.56 ▼16.8437.01 ▼5.64
Posts /wp-admin/edit.php2,104 ▲72.03 ▲0.0539.01 ▼0.7735.83 ▲2.61
Add New Post /wp-admin/post-new.php1,539 ▲318.24 ▼5.12645.28 ▼42.9866.59 ▲9.56
Media Library /wp-admin/upload.php1,404 ▲44.21 ▲0.02104.83 ▲1.6847.06 ▲2.47
SSL Certificate /wp-admin/options-general.php?page=ssl-certificate-manager8212.0424.2836.82

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • widget_recent-posts
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • db_upgraded
    • widget_recent-comments
    • can_compress_scripts

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested

SRP Passed 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
No output text or server-side errors detected on direct access of PHP files

User-side errors Passed 1 test

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

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
2 plugin tags: ssl, certificate

ssl-certificate-manager/ssl-certificate-manager.php 92% from 13 tests

The primary PHP file in "SSL Certificate Manager" version 1.0.0 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
  • Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 166 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 plugin291 lines of code in 6 files:
LanguageFilesBlank linesComment linesLines of code
PHP4568201
PO File1163059
JavaScript11031

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.42
Average class complexity11.00
▷ Minimum class complexity7.00
▷ Maximum class complexity15.00
Average method complexity2.44
▷ Minimum method complexity1.00
▷ Maximum method complexity5.00
Code structure
Namespaces1
Interfaces0
Traits0
Classes2
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes150.00%
Methods12
▷ Static methods18.33%
▷ Public methods1191.67%
▷ Protected methods00.00%
▷ Private methods18.33%
Functions9
▷ Named functions111.11%
▷ Anonymous functions888.89%
Constants6
▷ Global constants6100.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 were not PNG files found in your plugin