72% la-tecnologeria-podcasting-players

Code Review | La Tecnologeria Podcasting players

WordPress plugin La Tecnologeria Podcasting players scored72%from 54 tests.

About plugin

  • Plugin page: la-tecnologeria-p...
  • Plugin version: 1.3
  • PHP compatiblity: 5.6.40+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.9.13-5.6
  • WordPress version: 6.3.1
  • First release: Apr 3, 2020
  • Latest release: Dec 27, 2021
  • Number of updates: 16
  • Update frequency: every 39.8 days
  • Top authors: tecnologeria (100%)

Code review

54 tests

User reviews

1 review

Install metrics

40+ active /823 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.07MB] [CPU: ▼0.49ms] Passed 4 tests

Server-side resources used by La Tecnologeria Podcasting players
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.54 ▲0.0741.25 ▼1.18
Dashboard /wp-admin3.38 ▲0.0757.35 ▲0.75
Posts /wp-admin/edit.php3.49 ▲0.1352.09 ▲0.26
Add New Post /wp-admin/post-new.php5.96 ▲0.0794.03 ▼1.80
Media Library /wp-admin/upload.php3.30 ▲0.0738.59 ▲1.68
La Tecnologería Podcasting /wp-admin/options-general.php?page=tecnologeria_podcasting_plugin3.2734.17

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

A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 6 new files
Database: no new tables, 7 new options
New WordPress options
db_upgraded
widget_recent-posts
widget_theysaidso_widget
can_compress_scripts
theysaidso_admin_options
tecnologeria_podcasting_version
widget_recent-comments

Browser metrics Passed 4 tests

This is an overview of browser requirements for La Tecnologeria Podcasting players
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,829 ▲9414.76 ▲0.511.82 ▲0.0544.04 ▼6.04
Dashboard /wp-admin2,210 ▲255.91 ▲0.09103.77 ▼25.1640.97 ▼11.62
Posts /wp-admin/edit.php2,093 ▲42.04 ▲0.0441.70 ▲2.9035.51 ▲1.88
Add New Post /wp-admin/post-new.php1,537 ▲1723.24 ▲0.16693.25 ▲23.6561.35 ▼6.74
Media Library /wp-admin/upload.php1,389 ▲14.24 ▼0.05105.51 ▼14.2945.30 ▼2.67
La Tecnologería Podcasting /wp-admin/options-general.php?page=tecnologeria_podcasting_plugin7772.0327.0424.88

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

Smoke tests 25% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Please fix the following server-side errors
  • 12 occurences, only the last one shown
    • > GET request to /wp-admin/options-general.php?page=tecnologeria_podcasting_plugin
    • > POST request to /wp-cron.php?doing_wp_cron=1696658530.1360850334167480468750
    • > Notice in wp-content/plugins/pressforward/Core/Utility/Retrieval.php+204
    Undefined offset: 0
  • 12 occurences, only the last one shown
    • > GET request to /wp-admin/options-general.php?page=tecnologeria_podcasting_plugin
    • > POST request to /wp-cron.php?doing_wp_cron=1696658530.1360850334167480468750
    • > Notice in wp-content/plugins/pressforward/Core/Utility/Retrieval.php+205
    Trying to get property 'guid' of non-object
  • 45 occurences, only the last one shown
    • > GET request to /wp-admin/options-general.php?page=tecnologeria_podcasting_plugin
    • > POST request to /wp-cron.php?doing_wp_cron=1696658530.1360850334167480468750
    • > Notice in wp-content/plugins/pressforward/Core/Utility/Retrieval.php+205
    Trying to get property 'ID' of non-object
  • 11 occurences, only the last one shown
    • > GET request to /wp-admin/options-general.php?page=tecnologeria_podcasting_plugin
    • > POST request to /wp-cron.php?doing_wp_cron=1696658530.1360850334167480468750
    • > Notice in wp-content/plugins/pressforward/Core/Utility/Retrieval.php+222
    Trying to get property 'post_title' of non-object

SRP 0% 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× PHP files output non-empty strings when accessed directly via GET requests:
    • > /wp-content/plugins/la-tecnologeria-podcasting-players/tecnologeria-podcasting.php
  • 1× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/la-tecnologeria-podcasting-players/templates/settings.php:2

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 93% from 29 tests

readme.txt Passed 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
4 plugin tags: audio, podcasting, podcast, mp3

la-tecnologeria-podcasting-players/tecnologeria-podcasting.php 85% from 13 tests

The main file in "La Tecnologeria Podcasting players" v. 1.3 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
  • Main file name: Name the main plugin file the same as the plugin slug ("la-tecnologeria-podcasting-players.php" instead of "tecnologeria-podcasting.php")
  • Text Domain: Please use dashes and lowercase characters for text domains

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 detected312 lines of code in 4 files:
LanguageFilesBlank linesComment linesLines of code
PHP34464267
PO File1213445

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.32
Average class complexity15.50
▷ Minimum class complexity4.00
▷ Maximum class complexity27.00
Average method complexity2.38
▷ Minimum method complexity1.00
▷ Maximum method complexity9.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes2
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes00.00%
Methods21
▷ Static methods314.29%
▷ Public methods21100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin