83% add-overcast-payments-to-seriously-simple-podcasting

Code Review | Overcast & Seriously Simple Podcasting

WordPress plugin Overcast & Seriously Simple Podcasting scored83%from 54 tests.

About plugin

  • Plugin page: add-overcast-paym...
  • Plugin version: 0.5.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.1-4.9
  • WordPress version: 6.3.1
  • First release: Aug 28, 2018
  • Latest release: Aug 28, 2018
  • Number of updates: 3
  • Update frequency: N/A
  • Top authors: whyisjake (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /1,467 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices

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

Server-side resources used by Overcast & Seriously Simple Podcasting
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0038.65 ▼1.56
Dashboard /wp-admin3.31 ▲0.0054.10 ▲0.13
Posts /wp-admin/edit.php3.36 ▲0.0049.42 ▼3.03
Add New Post /wp-admin/post-new.php5.89 ▲0.0086.07 ▼23.95
Media Library /wp-admin/upload.php3.23 ▲0.0033.47 ▼3.08

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

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

Browser metrics Passed 4 tests

This is an overview of browser requirements for Overcast & Seriously Simple Podcasting
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,789 ▲2814.21 ▼0.321.90 ▲0.2344.04 ▼0.18
Dashboard /wp-admin2,198 ▲215.65 ▲0.0695.53 ▲2.5141.72 ▼5.79
Posts /wp-admin/edit.php2,100 ▼32.00 ▲0.0136.29 ▼5.5935.29 ▲0.32
Add New Post /wp-admin/post-new.php1,526 ▼023.12 ▲0.04627.95 ▼61.8053.23 ▼11.65
Media Library /wp-admin/upload.php1,403 ▼04.16 ▼0.0597.72 ▼8.8143.47 ▼6.27

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_recent-comments
    • db_upgraded
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • can_compress_scripts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested

SRP 50% from 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
The following issues need your attention
  • 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/add-overcast-payments-to-seriously-simple-podcasting/overcast-payments-for-ssp.php:18

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side

Optimizations

Plugin configuration 90% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
  • Screenshots: Screenshot #1 (Admin interface, integrated with Seriously Simple Podcasting.) image missing
The official readme.txt might help

add-overcast-payments-to-seriously-simple-podcasting/overcast-payments-for-ssp.php 85% from 13 tests

Analyzing the main PHP file in "Overcast & Seriously Simple Podcasting" version 0.5.0
The following require your attention:
  • Main file name: The principal plugin file should be the same as the plugin slug ("add-overcast-payments-to-seriously-simple-podcasting.php" instead of "overcast-payments-for-ssp.php")
  • Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin51 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
PHP192729
JavaScript11012
JSON10010

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.14
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

All PNG images should be compressed to minimize bandwidth usage for end users
1 PNG file occupies 0.16MB with 0.12MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
screenshot-1.png162.12KB41.97KB▼ 74.11%