84% quick-embed-libsyn-podcast

Code Review | Libsyn Podcast Quick Embed

WordPress plugin Libsyn Podcast Quick Embed scored84%from 54 tests.

About plugin

  • Plugin page: quick-embed-libsy...
  • Plugin version: 1.0.0
  • PHP version: 7.4.16
  • WordPress compatibility: 2.5-4.7.3
  • WordPress version: 6.3.1
  • First release: Aug 20, 2017
  • Latest release: Aug 20, 2017
  • Number of updates: 2
  • Update frequency: every 2.5 days
  • Top authors: DWebMaster (100%)

Code review

54 tests

User reviews

1 review

Install metrics

100+ active /1,722 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully

Server metrics [RAM: ▲0.01MB] [CPU: ▼2.29ms] Passed 4 tests

This is a short check of server-side resources used by Libsyn Podcast Quick Embed
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0142.31 ▼4.71
Dashboard /wp-admin3.31 ▲0.0148.20 ▼3.17
Posts /wp-admin/edit.php3.37 ▲0.0150.54 ▲1.98
Add New Post /wp-admin/post-new.php5.90 ▲0.0188.08 ▼3.27
Media Library /wp-admin/upload.php3.24 ▲0.0136.93 ▲2.82

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

A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-comments
can_compress_scripts
widget_recent-posts
theysaidso_admin_options
widget_theysaidso_widget
db_upgraded

Browser metrics Passed 4 tests

An overview of browser requirements for Libsyn Podcast Quick Embed
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,789 ▲2814.29 ▼0.061.63 ▼0.6240.64 ▼7.74
Dashboard /wp-admin2,195 ▲185.63 ▲0.0086.51 ▼0.5740.79 ▲2.05
Posts /wp-admin/edit.php2,100 ▼02.04 ▲0.0633.88 ▼2.7636.23 ▼7.31
Add New Post /wp-admin/post-new.php1,526 ▼223.14 ▲0.07703.68 ▼10.4361.67 ▲1.71
Media Library /wp-admin/upload.php1,400 ▼04.21 ▼0.0195.32 ▼16.4442.89 ▼5.41

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • theysaidso_admin_options
    • widget_recent-comments
    • db_upgraded
    • widget_recent-posts
    • can_compress_scripts
    • widget_theysaidso_widget

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
  • 2× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/quick-embed-libsyn-podcast/editor-plugins/libsyn-podcast.php:5
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/quick-embed-libsyn-podcast/editor-plugins/libsyn-podcast.php:5

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected

Optimizations

Plugin configuration 93% from 29 tests

readme.txt Passed 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
6 plugin tags: audio, libsyn podcast, podcast, video, libsyn...

quick-embed-libsyn-podcast/libsyn-podcast-quick-embed.php 85% from 13 tests

The main file in "Libsyn Podcast Quick Embed" v. 1.0.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("quick-embed-libsyn-podcast.php" instead of "libsyn-podcast-quick-embed.php")
  • Description: Please keep the plugin description shorter than 140 characters (currently 367 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Success! There were no dangerous files found in this plugin60 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript142732
PHP291528

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.08
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%
Functions4
▷ Named functions4100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.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
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
editor-plugins/podcast.png0.70KB0.53KB▼ 23.88%