84% bulk-youtube-post-creator

Code Review | Bulk YouTube Post Creator

WordPress plugin Bulk YouTube Post Creator scored 84% from 54 tests.

About plugin

  • Plugin page: bulk-youtube-post...
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.1-4.0
  • WordPress version: 6.3.1
  • First release: Dec 18, 2014
  • Latest release: Dec 19, 2014
  • Number of updates: 2
  • Update frequency: every 1.5 days
  • Top authors: stahiralijan (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 1,028 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
This plugin's installer ran successfully

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

An overview of server-side resources used by Bulk YouTube Post Creator
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0035.28 ▼13.76
Dashboard /wp-admin3.31 ▲0.0147.38 ▲2.24
Posts /wp-admin/edit.php3.36 ▲0.0050.48 ▼0.67
Add New Post /wp-admin/post-new.php5.89 ▲0.0098.67 ▲8.67
Media Library /wp-admin/upload.php3.23 ▲0.0035.58 ▲4.55

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

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

Browser metrics Passed 4 tests

Checking browser requirements for Bulk YouTube Post Creator
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,816 ▲7014.47 ▼0.121.73 ▲0.0041.10 ▲4.75
Dashboard /wp-admin2,222 ▲315.86 ▲0.95105.63 ▼11.2539.88 ▼4.53
Posts /wp-admin/edit.php2,108 ▲192.02 ▼0.0339.09 ▼1.0235.27 ▼1.65
Add New Post /wp-admin/post-new.php1,532 ▼1023.26 ▲5.17565.80 ▼67.6548.21 ▼7.21
Media Library /wp-admin/upload.php1,404 ▲134.19 ▲0.0199.08 ▲0.3844.40 ▼3.31

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_recent-comments
    • theysaidso_admin_options
    • can_compress_scripts
    • db_upgraded
    • widget_theysaidso_widget
    • widget_recent-posts

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
  • 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bulk-youtube-post-creator/bulk-youtube-post-creator.php:32

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that require attention:
  • Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line ( === bulk-youtube-post-creator === )
Please take inspiration from this readme.txt

bulk-youtube-post-creator/bulk-youtube-post-creator.php Passed 13 tests

The primary PHP file in "Bulk YouTube Post Creator" version 1.0 is used by WordPress to initiate all plugin functionality
65 characters long description:
Quickly create multiple posts at once and embed YouTube into them

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin180 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP12124180

PHP code Passed 2 tests

This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.42
Average class complexity14.00
▷ Minimum class complexity14.00
▷ Maximum class complexity14.00
Average method complexity3.17
▷ Minimum method complexity1.00
▷ Maximum method complexity10.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods6
▷ Static methods00.00%
▷ Public methods6100.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

PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin