90% podcloud

Code Review | podCloud

WordPress plugin podCloud scored90%from 54 tests.

About plugin

  • Plugin page: podcloud
  • Plugin version: 1.6.0
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.6-6.4
  • WordPress version: 6.3.1
  • First release: Jan 8, 2021
  • Latest release: Oct 25, 2023
  • Number of updates: 16
  • Update frequency: every 64.3 days
  • Top authors: podcloud (100%)

Code review

54 tests

User reviews

1 review

Install metrics

50+ active /753 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.01MB] [CPU: ▼1.63ms] Passed 4 tests

An overview of server-side resources used by podCloud
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0236.47 ▲0.72
Dashboard /wp-admin3.32 ▲0.0243.19 ▼0.70
Posts /wp-admin/edit.php3.37 ▲0.0142.18 ▼2.49
Add New Post /wp-admin/post-new.php5.90 ▲0.0179.36 ▼4.04
Media Library /wp-admin/upload.php3.25 ▲0.0135.76 ▲2.83

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

Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
widget_recent-comments
db_upgraded
widget_recent-posts
can_compress_scripts
theysaidso_admin_options

Browser metrics Passed 4 tests

podCloud: an overview of browser usage
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,820 ▲4914.10 ▼0.631.76 ▼0.1142.16 ▲0.80
Dashboard /wp-admin2,198 ▲175.61 ▼0.0981.22 ▼19.6736.72 ▼0.47
Posts /wp-admin/edit.php2,100 ▲32.03 ▲0.0034.31 ▼0.5738.36 ▲1.68
Add New Post /wp-admin/post-new.php1,532 ▲423.00 ▼0.23680.72 ▼8.0552.99 ▼1.82
Media Library /wp-admin/upload.php1,397 ▼34.18 ▼0.00103.23 ▲7.6650.22 ▲5.93

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

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested

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
Everything seems fine, however this is by no means an exhaustive test

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 Passed 29 tests

readme.txt Passed 16 tests

You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
4 plugin tags: podcast, player, podcloud, podcasting

podcloud/podcloud.php Passed 13 tests

"podCloud" version 1.6.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
100 characters long description:
This plugins allow embedding of the podCloud player by pasting a podcast or episode URL into editor.

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
No dangerous file extensions were detected167 lines of code in 7 files:
LanguageFilesBlank linesComment linesLines of code
PO File32836109
PHP2102551
CSS1106
JavaScript1001

PHP code Passed 2 tests

This is a very shot review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.21
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%
Functions3
▷ Named functions3100.00%
▷ Anonymous functions00.00%
Constants2
▷ Global constants2100.00%
▷ Class constants00.00%
▷ Public constants00.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