84% seriously-simple-transcripts

Code Review | Seriously Simple Transcripts

WordPress plugin Seriously Simple Transcripts scored 84% from 54 tests.

About plugin

  • Plugin page: seriously-simple-...
  • Plugin version: 1.1.1
  • PHP version: 7.4.16
  • WordPress compatibility: 4.4-6.1
  • WordPress version: 6.3.1
  • First release: Jun 8, 2016
  • Latest release: Dec 2, 2022
  • Number of updates: 13
  • Update frequency: every 182.2 days
  • Top authors: zahardoc (38.46%)psykro (38.46%)hlashbrooke (38.46%)

Code review

54 tests

User reviews

1 review

Install metrics

900+ active / 10,155 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: ▼5.38ms] Passed 4 tests

Analyzing server-side resources used by Seriously Simple Transcripts
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0138.69 ▼6.81
Dashboard /wp-admin3.31 ▲0.0045.98 ▲1.04
Posts /wp-admin/edit.php3.36 ▲0.0045.09 ▲1.63
Add New Post /wp-admin/post-new.php5.89 ▲0.0084.05 ▼14.32
Media Library /wp-admin/upload.php3.23 ▲0.0034.38 ▼1.42

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

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

Browser metrics Passed 4 tests

This is an overview of browser requirements for Seriously Simple Transcripts
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲6513.28 ▼1.121.65 ▼0.1644.53 ▲2.18
Dashboard /wp-admin2,203 ▲155.81 ▲0.9397.49 ▼5.5141.92 ▼0.22
Posts /wp-admin/edit.php2,089 ▼02.05 ▼0.0235.49 ▼0.6032.20 ▼4.47
Add New Post /wp-admin/post-new.php1,534 ▼023.53 ▲0.57670.47 ▲28.3853.84 ▼1.66
Media Library /wp-admin/upload.php1,388 ▼04.19 ▼0.0595.92 ▼18.9541.33 ▼7.44

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

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

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected

SRP 50% from 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
  • 12× PHP files trigger server errors when accessed directly (only 10 are shown):
    • > PHP Fatal error
      Uncaught Error: Class 'SSP_Transcripts\\Controllers\\Abstract_Controller' not found in wp-content/plugins/seriously-simple-transcripts/php/classes/controllers/class-assets-controller.php:5
    • > PHP Fatal error
      Uncaught Error: Class 'SSP_Transcripts\\Controllers\\Abstract_Controller' not found in wp-content/plugins/seriously-simple-transcripts/php/classes/controllers/class-episode-fields-controller.php:5
    • > PHP Fatal error
      Uncaught Error: Class 'SSP_Transcripts\\Controllers\\Abstract_Controller' not found in wp-content/plugins/seriously-simple-transcripts/php/classes/controllers/class-frontend-controller.php:5
    • > PHP Fatal error
      Uncaught Error: Class 'SSP_Transcripts\\Controllers\\Abstract_Controller' not found in wp-content/plugins/seriously-simple-transcripts/php/classes/controllers/class-integrations-controller.php:9
    • > PHP Fatal error
      Uncaught Error: Interface 'SSP_Transcripts\\Interfaces\\Integration' not found in wp-content/plugins/seriously-simple-transcripts/php/classes/integrations/class-abstract-integrator.php:7
    • > PHP Fatal error
      Uncaught Error: Class 'SSP_Transcripts\\Controllers\\Abstract_Controller' not found in wp-content/plugins/seriously-simple-transcripts/php/classes/controllers/class-settings-controller.php:5
    • > PHP Fatal error
      Uncaught Error: Class 'Elementor\\Widget_Text_Editor' not found in wp-content/plugins/seriously-simple-transcripts/php/classes/integrations/elementor/widgets/class-elementor-transcripts-widget.php:10
    • > PHP Fatal error
      Uncaught Error: Class 'SSP_Transcripts\\Controllers\\Abstract_Controller' not found in wp-content/plugins/seriously-simple-transcripts/php/classes/controllers/class-plugin-controller.php:6
    • > PHP Fatal error
      Uncaught Error: Class 'SSP_Transcripts\\Integrations\\Abstract_Integrator' not found in wp-content/plugins/seriously-simple-transcripts/php/classes/integrations/elementor/class-elementor-integrator.php:9
    • > PHP Fatal error
      Uncaught Error: Class 'SSP_Transcripts\\Controllers\\Abstract_Controller' not found in wp-content/plugins/seriously-simple-transcripts/php/classes/controllers/class-feed-controller.php:5

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need your attention:
  • Tags: Please delete some tags, you are using 11 tag instead of maximum 10
You can look at the official readme.txt

seriously-simple-transcripts/seriously-simple-transcripts.php Passed 13 tests

The main PHP script in "Seriously Simple Transcripts" version 1.1.1 is automatically included on every request by WordPress
74 characters long description:
Add downloadable transcripts to your Seriously Simple Podcasting episodes.

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
Good job! No executable or dangerous file extensions detected860 lines of code in 30 files:
LanguageFilesBlank linesComment linesLines of code
PHP24207297788
JSON10062
JavaScript3008
CSS2002

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.25
Average class complexity2.94
▷ Minimum class complexity1.00
▷ Maximum class complexity8.00
Average method complexity1.69
▷ Minimum method complexity1.00
▷ Maximum method complexity8.00
Code structure
Namespaces8
Interfaces2
Traits0
Classes16
▷ Abstract classes212.50%
▷ Concrete classes1487.50%
▷ Final classes00.00%
Methods56
▷ Static methods35.36%
▷ Public methods4885.71%
▷ Protected methods712.50%
▷ Private methods11.79%
Functions3
▷ Named functions266.67%
▷ Anonymous functions133.33%
Constants5
▷ Global constants480.00%
▷ Class constants120.00%
▷ Public constants1100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin