90% seriously-simple-podcasting-genesis-support

Code Review | Seriously Simple Podcasting Genesis Support

WordPress plugin Seriously Simple Podcasting Genesis Support scored90%from 54 tests.

About plugin

  • Plugin page: seriously-simple-...
  • Plugin version: 1.1.0
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.4-6.2
  • WordPress version: 6.3.1
  • First release: Mar 1, 2016
  • Latest release: May 17, 2023
  • Number of updates: 9
  • Update frequency: every 292.9 days
  • Top authors: hlashbrooke (55.56%)psykro (44.44%)zahardoc (22.22%)

Code review

54 tests

User reviews

2 reviews

Install metrics

500+ active /7,285 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.01MB] [CPU: ▼4.10ms] Passed 4 tests

An overview of server-side resources used by Seriously Simple Podcasting Genesis Support
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0135.09 ▼12.16
Dashboard /wp-admin3.31 ▲0.0152.46 ▲6.50
Posts /wp-admin/edit.php3.37 ▲0.0156.63 ▲8.03
Add New Post /wp-admin/post-new.php5.90 ▲0.0184.98 ▼9.01
Media Library /wp-admin/upload.php3.24 ▲0.0134.56 ▼1.72

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

Filesystem and database footprint
This plugin was installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-comments
widget_theysaidso_widget
widget_recent-posts
can_compress_scripts
theysaidso_admin_options
db_upgraded

Browser metrics Passed 4 tests

This is an overview of browser requirements for Seriously Simple Podcasting Genesis Support
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲5413.29 ▼1.011.67 ▼0.2238.99 ▼8.92
Dashboard /wp-admin2,209 ▲245.88 ▲0.83141.25 ▲41.7060.90 ▲16.86
Posts /wp-admin/edit.php2,089 ▼32.05 ▲0.0433.28 ▼7.1134.09 ▼0.69
Add New Post /wp-admin/post-new.php1,520 ▼1323.41 ▲0.17690.00 ▲89.6758.13 ▲11.23
Media Library /wp-admin/upload.php1,388 ▼34.19 ▲0.0097.23 ▲1.3340.10 ▼1.23

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • db_upgraded
    • can_compress_scripts
    • widget_recent-comments
    • widget_theysaidso_widget
    • widget_recent-posts
    • theysaidso_admin_options

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test

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
Congratulations! This plugin passed the SRP test

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)
Everything seems fine on the user side

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
3 plugin tags: genesis, seriously simple podcasting, add-ons

seriously-simple-podcasting-genesis-support/seriously-simple-podcasting-genesis-support.php Passed 13 tests

"Seriously Simple Podcasting Genesis Support" version 1.1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
87 characters long description:
Adds full compatibility for the Genesis theme framework to Seriously Simple Podcasting.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected61 lines of code in 4 files:
LanguageFilesBlank linesComment linesLines of code
PHP4212961

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.82
Average class complexity7.00
▷ Minimum class complexity7.00
▷ Maximum class complexity7.00
Average method complexity4.00
▷ Minimum method complexity2.00
▷ Maximum method complexity6.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods2
▷ Static methods2100.00%
▷ Public methods2100.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

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