90% ssl-checker

Code Review | SSL Domain Checker

WordPress plugin SSL Domain Checker scored90%from 54 tests.

About plugin

  • Plugin page: ssl-checker
  • Plugin version: 1.0.1
  • PHP compatiblity: 5.3.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.0-5.2.1
  • WordPress version: 6.3.1
  • First release: Mar 30, 2019
  • Latest release: Jun 11, 2019
  • Number of updates: 10
  • Update frequency: every 7.3 days
  • Top authors: iarovuo (100%)

Code review

54 tests

User reviews

1 review

Install metrics

50+ active /1,144 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.06MB] [CPU: ▼12.08ms] Passed 4 tests

Analyzing server-side resources used by SSL Domain Checker
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.50 ▲0.0440.63 ▼21.67
Dashboard /wp-admin3.37 ▲0.0652.69 ▲6.31
Posts /wp-admin/edit.php3.42 ▲0.0645.96 ▼6.30
Add New Post /wp-admin/post-new.php5.95 ▲0.0692.92 ▼18.71
Media Library /wp-admin/upload.php3.29 ▲0.0635.85 ▼1.64
SSL Domain Checker /wp-admin/options-general.php?page=gritonl_ssl_checker3.2634.08

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

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

Browser metrics Passed 4 tests

A check of browser resources used by SSL Domain Checker
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,804 ▲3314.81 ▲0.081.87 ▼1.7344.00 ▼19.23
Dashboard /wp-admin2,213 ▲255.86 ▲0.00102.06 ▲2.9538.32 ▼6.43
Posts /wp-admin/edit.php2,093 ▲42.03 ▲0.0537.11 ▼2.0533.95 ▲1.91
Add New Post /wp-admin/post-new.php1,545 ▲1218.40 ▼4.68674.33 ▲90.3175.09 ▲27.85
Media Library /wp-admin/upload.php1,392 ▲104.19 ▲0.0294.17 ▼4.1840.62 ▼3.28
SSL Domain Checker /wp-admin/options-general.php?page=gritonl_ssl_checker8442.0222.5426.87

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
  • Zombie WordPress options detected upon uninstall: 6 options
    • theysaidso_admin_options
    • widget_recent-comments
    • widget_theysaidso_widget
    • can_compress_scripts
    • db_upgraded
    • widget_recent-posts

Smoke tests Passed 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 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
Looking good! No server-side errors or output on direct access of PHP files

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)
There were no browser issues found

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
8 plugin tags: grit online, alert, check, checker, expiration...

ssl-checker/ssl-checker.php Passed 13 tests

This is the main PHP file of "SSL Domain Checker" version 1.0.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
92 characters long description:
SSL Domain Checker alerts site admin via email before the SSL certificate or domain expires.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin287 lines of code in 4 files:
LanguageFilesBlank linesComment linesLines of code
PHP36188277
CSS10010

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.34
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%
Functions8
▷ Named functions8100.00%
▷ Anonymous functions00.00%
Constants2
▷ Global constants2100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Using a strong compression for your PNG files is a great way to speed-up your plugin
PNG images were not found in this plugin