84% anchor-episodes-index

Code Review | Anchor Episodes Index (Spotify for Podcasters)

WordPress plugin Anchor Episodes Index (Spotify for Podcasters) scored 84% from 54 tests.

About plugin

  • Plugin page: anchor-episodes-i...
  • Plugin version: 2.1.8
  • PHP compatiblity: 5.2+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.8-6.3
  • WordPress version: 6.3.1
  • First release: Mar 13, 2021
  • Latest release: Sep 20, 2023
  • Number of updates: 80
  • Update frequency: every 11.5 days
  • Top authors: jeswd (100%)

Code review

54 tests

User reviews

4 reviews

Install metrics

2,000+ active / 27,736 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
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.13MB] [CPU: ▼1.22ms] Passed 4 tests

An overview of server-side resources used by Anchor Episodes Index (Spotify for Podcasters)
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.59 ▲0.1336.40 ▼2.03
Dashboard /wp-admin3.43 ▲0.1349.30 ▲2.48
Posts /wp-admin/edit.php3.55 ▲0.1948.16 ▼1.30
Add New Post /wp-admin/post-new.php6.01 ▲0.1392.23 ▼4.02
Media Library /wp-admin/upload.php3.36 ▲0.1337.87 ▲4.34
Anchor Episodes /wp-admin/options-general.php?page=jes_anchor_settings3.3231.40

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

Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 13 new files
Database: no new tables, 7 new options
New WordPress options
theysaidso_admin_options
jesaei_jun23_sale_transient_deleted
widget_theysaidso_widget
widget_recent-posts
can_compress_scripts
db_upgraded
widget_recent-comments

Browser metrics Passed 4 tests

Checking browser requirements for Anchor Episodes Index (Spotify for Podcasters)
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,827 ▲7013.21 ▼1.205.13 ▲2.8941.69 ▼2.13
Dashboard /wp-admin2,236 ▲515.90 ▲0.01107.09 ▲5.2042.74 ▼1.00
Posts /wp-admin/edit.php2,118 ▲292.02 ▼0.0140.61 ▲4.1336.53 ▲1.04
Add New Post /wp-admin/post-new.php1,535 ▲217.50 ▼5.50653.29 ▲1.7654.24 ▲1.09
Media Library /wp-admin/upload.php1,409 ▲184.21 ▲0.00102.20 ▼1.1147.61 ▲3.02
Anchor Episodes /wp-admin/options-general.php?page=jes_anchor_settings8472.1625.2831.55

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
You still need to fix the following
  • Zombie WordPress options detected upon uninstall: 7 options
    • widget_recent-posts
    • can_compress_scripts
    • widget_recent-comments
    • db_upgraded
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • jesaei_jun23_sale_transient_deleted

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, 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
  • 1× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Class 'Anchor_Episodes_Index\\Functions' not found in wp-content/plugins/anchor-episodes-index/includes/main.php:12

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 96% from 29 tests

readme.txt Passed 16 tests

The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
3 plugin tags: podcast, embed, anchorfm

anchor-episodes-index/anchor-episodes-index.php 92% from 13 tests

The main PHP file in "Anchor Episodes Index (Spotify for Podcasters)" ver. 2.1.8 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
  • Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 239 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected473 lines of code in 10 files:
LanguageFilesBlank linesComment linesLines of code
PHP612382457
Markdown18010
CSS2105
JavaScript1001

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.19
Average class complexity10.00
▷ Minimum class complexity5.00
▷ Maximum class complexity18.00
Average method complexity2.13
▷ Minimum method complexity1.00
▷ Maximum method complexity12.00
Code structure
Namespaces1
Interfaces0
Traits0
Classes4
▷ Abstract classes00.00%
▷ Concrete classes4100.00%
▷ Final classes00.00%
Methods32
▷ Static methods00.00%
▷ Public methods32100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions2
▷ Named functions150.00%
▷ Anonymous functions150.00%
Constants5
▷ Global constants5100.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
PNG images were not found in this plugin