90% simple-course-creator-front-display

Code Review | Simple Course Creator Front Display

WordPress plugin Simple Course Creator Front Display scored90%from 54 tests.

About plugin

  • Plugin page: simple-course-cre...
  • Plugin version: 1.0.5
  • PHP version: 7.4.16
  • WordPress compatibility: 3.8-5.3
  • WordPress version: 6.3.1
  • First release: Apr 14, 2014
  • Latest release: Mar 30, 2020
  • Number of updates: 37
  • Update frequency: every 58.9 days
  • Top authors: sdavis2702 (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /1,701 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully

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

An overview of server-side resources used by Simple Course Creator Front Display
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0137.98 ▼1.18
Dashboard /wp-admin3.31 ▼0.0343.95 ▼19.38
Posts /wp-admin/edit.php3.36 ▲0.0148.50 ▲1.95
Add New Post /wp-admin/post-new.php5.89 ▲0.0192.21 ▼6.99
Media Library /wp-admin/upload.php3.23 ▲0.0035.00 ▼1.58

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

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

Browser metrics Passed 4 tests

Simple Course Creator Front Display: an overview of browser usage
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲5413.32 ▼1.061.58 ▼0.2640.10 ▼4.05
Dashboard /wp-admin2,206 ▲215.86 ▲0.99105.47 ▼10.9741.90 ▼6.11
Posts /wp-admin/edit.php2,086 ▼32.04 ▲0.0139.53 ▲1.8534.06 ▼0.29
Add New Post /wp-admin/post-new.php1,533 ▲1923.10 ▲5.42633.65 ▼38.3763.86 ▼12.77
Media Library /wp-admin/upload.php1,388 ▲34.12 ▼0.11111.15 ▲13.5547.55 ▲6.29

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

Smoke tests Passed 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 Passed 2 tests

🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Congratulations! This plugin passed the SRP test

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found

Optimizations

Plugin configuration 96% from 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
6 plugin tags: lesson, sdavis2702, series, customizer, course...

simple-course-creator-front-display/simple-course-creator-front-display.php 92% from 13 tests

"Simple Course Creator Front Display" version 1.0.5's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
  • Text Domain: Please use dashes and lowercase characters for text domains

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
There were no executable files found in this plugin273 lines of code in 4 files:
LanguageFilesBlank linesComment linesLines of code
PHP378151230
Markdown122043

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.28
Average class complexity8.67
▷ Minimum class complexity1.00
▷ Maximum class complexity20.00
Average method complexity2.92
▷ Minimum method complexity1.00
▷ Maximum method complexity12.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes3
▷ Abstract classes00.00%
▷ Concrete classes3100.00%
▷ Final classes00.00%
Methods12
▷ Static methods00.00%
▷ Public methods1191.67%
▷ Protected methods00.00%
▷ Private methods18.33%
Functions0
▷ Named functions00.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