94% unique-content

Code Review | Unique Content - Unlimited Unique Content Generator from Youtube Captions

WordPress plugin Unique Content - Unlimited Unique Content Generator from Youtube Captions scored 94% from 54 tests.

About plugin

  • Plugin page: unique-content
  • Plugin version: 1.2.1
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0.1-5.7
  • WordPress version: 5.8.1
  • First release: Apr 10, 2021
  • Latest release: May 19, 2021
  • Number of updates: 6
  • Update frequency: every 6.5 days
  • Top authors: codenpy (100%)

Code review

54 tests

User reviews

1 review

Install metrics

20+ active / 366 total downloads

Benchmarks

Plugin footprint Passed 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.00MB] [CPU: ▼138.46ms] Passed 4 tests

Analyzing server-side resources used by Unique Content - Unlimited Unique Content Generator from Youtube Captions
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /2.84 ▲0.0034.39 ▲2.10
Dashboard /wp-admin3.06 ▲0.0148.35 ▲5.82
Posts /wp-admin/edit.php3.12 ▲0.0137.84 ▼6.87
Add New Post /wp-admin/post-new.php5.42 ▼0.0191.05 ▼554.89
Media Library /wp-admin/upload.php3.01 ▲0.0031.51 ▲8.22

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

Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 5 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

An overview of browser requirements for Unique Content - Unlimited Unique Content Generator from Youtube Captions
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,707 ▲11115.95 ▼0.059.79 ▲2.2247.72 ▼2.49
Dashboard /wp-admin2,974 ▲435.89 ▼0.08132.37 ▼14.39106.95 ▼10.95
Posts /wp-admin/edit.php2,740 ▲12.70 ▲0.0265.25 ▼2.6284.42 ▼11.93
Add New Post /wp-admin/post-new.php1,876 ▲19319.19 ▲0.44404.14 ▲35.10107.70 ▼14.69
Media Library /wp-admin/upload.php1,817 ▲75.06 ▲0.04146.13 ▲0.29121.94 ▲2.69

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Uninstaller ran successfully

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 applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
  • 1× 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/unique-content/uniquecontent.php:20

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
5 plugin tags: article youtube caption, youtube content, unique article, youtube captions, youtube article

unique-content/uniquecontent.php 92% from 13 tests

"Unique Content - Unlimited Unique Content Generator from Youtube Captions" version 1.2.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("unique-content.php" instead of "uniquecontent.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin123 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
PHP1301757
JavaScript116035
CSS11031

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.00
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 functions375.00%
▷ Anonymous functions125.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