84% video-user-manuals

Code Review | Video User Manuals

WordPress plugin Video User Manuals scored84%from 54 tests.

About plugin

  • Plugin page: video-user-manuals
  • Plugin version: 1.1
  • PHP compatiblity: 5.2.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-5.1
  • WordPress version: 6.3.1
  • First release: Mar 7, 2019
  • Latest release: Jun 2, 2019
  • Number of updates: 6
  • Update frequency: every 14.7 days
  • Top authors: markethax (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

20,000+ active /4,304 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully

Server metrics [RAM: ▲0.03MB] [CPU: ▼4.47ms] Passed 4 tests

Server-side resources used by Video User Manuals
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.50 ▲0.0346.02 ▲2.30
Dashboard /wp-admin3.34 ▲0.0350.54 ▼1.18
Posts /wp-admin/edit.php3.39 ▲0.0349.77 ▼1.45
Add New Post /wp-admin/post-new.php5.92 ▲0.0385.53 ▼10.47
Media Library /wp-admin/upload.php3.26 ▲0.0335.55 ▼4.77
Añadir nuevo /wp-admin/post-new.php?post_type=tutorial_resource3.3848.20
Manual /wp-admin/edit.php?post_type=tutorial_resource3.3139.75

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

Filesystem and database footprint
No storage issues were detected
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-posts
theysaidso_admin_options
db_upgraded
widget_recent-comments
widget_theysaidso_widget
can_compress_scripts

Browser metrics Passed 4 tests

A check of browser resources used by Video User Manuals
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,831 ▲4514.42 ▼0.012.02 ▲0.0941.92 ▼1.01
Dashboard /wp-admin2,234 ▲575.71 ▲0.0785.22 ▼3.8039.54 ▼2.80
Posts /wp-admin/edit.php2,139 ▲361.97 ▼0.0739.19 ▲2.5934.32 ▲2.51
Add New Post /wp-admin/post-new.php1,578 ▲3323.08 ▲0.02642.13 ▼75.5366.02 ▲13.96
Media Library /wp-admin/upload.php1,430 ▲364.20 ▼0.0898.21 ▼4.7943.34 ▼2.39
Añadir nuevo /wp-admin/post-new.php?post_type=tutorial_resource2,1887.74178.1062.17
Manual /wp-admin/edit.php?post_type=tutorial_resource1,1091.9831.3832.16

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
  • The uninstall procedure has failed, leaving 6 options in the database
    • widget_recent-comments
    • theysaidso_admin_options
    • widget_recent-posts
    • can_compress_scripts
    • widget_theysaidso_widget
    • db_upgraded

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not 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
Almost there! Just fix the following items
  • 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/video-user-manuals/video-user-manuals.php:49

User-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Please fix the following attributes:
  • Contributors: The plugin contributors field is missing
You can take inspiration from this readme.txt

video-user-manuals/video-user-manuals.php Passed 13 tests

The main file in "Video User Manuals" v. 1.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
82 characters long description:
A video tutorial plugin to teach your clients how to use their brand new websites.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin79 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP110879

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.15
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%
Functions3
▷ Named functions3100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin