84% powerpress-multisite

Code Review | Blubrry PowerPress Podcasting plugin MultiSite add-on

WordPress plugin Blubrry PowerPress Podcasting plugin MultiSite add-on scored 84% from 54 tests.

About plugin

  • Plugin page: powerpress-multisite
  • Plugin version: 0.1.1
  • PHP version: 7.4.16
  • WordPress compatibility: 3.8-5.4
  • WordPress version: 6.3.1
  • First release: Jul 1, 2014
  • Latest release: Mar 15, 2020
  • Number of updates: 8
  • Update frequency: every 271.1 days
  • Top authors: amandato (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

300+ active / 5,994 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully

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

Analyzing server-side resources used by Blubrry PowerPress Podcasting plugin MultiSite add-on
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0036.98 ▼2.25
Dashboard /wp-admin3.31 ▲0.0043.65 ▼10.71
Posts /wp-admin/edit.php3.36 ▲0.0042.52 ▼5.15
Add New Post /wp-admin/post-new.php5.89 ▲0.0096.12 ▲4.24
Media Library /wp-admin/upload.php3.23 ▲0.0034.62 ▲1.77

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

How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options
db_upgraded
widget_theysaidso_widget
widget_recent-comments
can_compress_scripts
theysaidso_admin_options
widget_recent-posts

Browser metrics Passed 4 tests

An overview of browser requirements for Blubrry PowerPress Podcasting plugin MultiSite add-on
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲6514.48 ▲0.091.59 ▼0.1835.51 ▼15.24
Dashboard /wp-admin2,206 ▲185.88 ▼0.0199.25 ▼13.5137.58 ▼7.84
Posts /wp-admin/edit.php2,092 ▲32.05 ▲0.0239.45 ▲2.0936.46 ▲2.72
Add New Post /wp-admin/post-new.php1,533 ▼523.35 ▲0.05617.43 ▼65.3451.88 ▼11.74
Media Library /wp-admin/upload.php1,382 ▼64.14 ▼0.1196.58 ▼3.5239.96 ▼4.83

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
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_recent-comments
    • widget_recent-posts
    • can_compress_scripts
    • db_upgraded
    • widget_theysaidso_widget
    • theysaidso_admin_options

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check 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
Please fix the following items
  • 1× PHP files output non-empty strings when accessed directly via GET requests:
    • > /wp-content/plugins/powerpress-multisite/powerpress-multisite.php

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
2 plugin tags: multisite, powerpress

powerpress-multisite/powerpress-multisite.php Passed 13 tests

The entry point to "Blubrry PowerPress Podcasting plugin MultiSite add-on" version 0.1.1 is a PHP file that has certain tags in its header comment area
103 characters long description:
Add MultiSite functionality for managing PowerPress, requires MultiSite and PowerPress to be installed.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin504 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP210363504

PHP code Passed 2 tests

Analyzing 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.40
Average class complexity82.00
▷ Minimum class complexity82.00
▷ Maximum class complexity82.00
Average method complexity7.23
▷ Minimum method complexity1.00
▷ Maximum method complexity47.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods13
▷ Static methods17.69%
▷ Public methods13100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions1
▷ Named functions1100.00%
▷ Anonymous functions00.00%
Constants2
▷ Global constants2100.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
PNG images were not found in this plugin