WordPress plugin scored68%from 54 tests.

About plugin

  • Plugin page: wizscriber-video-...
  • Plugin version: 1.25
  • PHP version: 7.4.16
  • WordPress compatibility: 3.4.2-4.2
  • WordPress version: 6.3.1
  • First release: Dec 23, 2013
  • Latest release: Apr 20, 2015
  • Number of updates: 40
  • Update frequency: every 12.1 days
  • Top authors: socratous139 (100%)

Code review

54 tests

User reviews

3 reviews

Install metrics

30+ active /18,198 total downloads

Benchmarks

Plugin footprint 65% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully

Server metrics [RAM: ▼0.85MB] [CPU: ▼33.50ms] Passed 4 tests

An overview of server-side resources used by
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.54 ▲0.0838.63 ▼7.51
Dashboard /wp-admin3.10 ▼0.2126.11 ▼29.67
Posts /wp-admin/edit.php3.10 ▼0.2628.92 ▼16.13
Add New Post /wp-admin/post-new.php3.10 ▼2.7923.99 ▼74.31
Media Library /wp-admin/upload.php3.10 ▼0.1324.76 ▼13.87

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

Filesystem and database footprint
This plugin installed successfully
Filesystem: 37 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
theysaidso_admin_options
db_upgraded
widget_recent-comments
widget_recent-posts
widget_theysaidso_widget

Browser metrics Passed 4 tests

: an overview of browser usage
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,896 ▲15013.72 ▼0.343.58 ▲1.7837.64 ▼5.46
Dashboard /wp-admin2,222 ▲315.29 ▼0.60104.99 ▼16.6194.33 ▲52.39
Posts /wp-admin/edit.php2,121 ▲322.45 ▲0.4036.61 ▼0.0235.82 ▼0.86
Add New Post /wp-admin/post-new.php1,539 ▲223.35 ▲5.33678.17 ▲19.6134.85 ▼34.96
Media Library /wp-admin/upload.php1,416 ▲254.34 ▲0.04101.96 ▼0.6147.76 ▲0.18

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
  • The plugin did not uninstall gracefully
    • > User deprecated in wp-includes/functions.php+5453
    Function add_object_page is deprecated since version 4.5.0! Use add_menu_page() instead.
  • This plugin does not fully uninstall, leaving 6 options in the database
    • can_compress_scripts
    • widget_recent-comments
    • widget_recent-posts
    • widget_theysaidso_widget
    • db_upgraded
    • theysaidso_admin_options

Smoke tests 50% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested

SRP 0% from 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
  • 1× PHP files output non-empty strings when accessed directly via GET requests:
    • > /wp-content/plugins/wizscriber-video-scribing-banner-ads/admin/includes/edit-wizscriber.php
  • 12× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
    • > PHP Notice
      Trying to get property 'prefix' of non-object in wp-content/plugins/wizscriber-video-scribing-banner-ads/wizScribe_page_content.php on line 5
    • > PHP Fatal error
      Uncaught Error: Call to a member function get_row() on null in wp-content/plugins/wizscriber-video-scribing-banner-ads/wizScribe_page_content.php:7
    • > PHP Fatal error
      require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-list-table.php' (include_path='.:/usr/share/php') in wp-content/plugins/wizscriber-video-scribing-banner-ads/classes/class-wizScriber-list-table.php on line 4
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/wizscriber-video-scribing-banner-ads/admin/admin.php:3
    • > PHP Notice
      Trying to get property 'prefix' of non-object in wp-content/plugins/wizscriber-video-scribing-banner-ads/wizScribe_import_admin.php on line 40
    • > PHP Warning
      require_once(ABSPATHwp-admin/includes/class-wp-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/wizscriber-video-scribing-banner-ads/classes/class-wizScriber-list-table.php on line 4
    • > PHP Fatal error
      Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/wizscriber-video-scribing-banner-ads/wizScribeSchell/wizScribe_main_content.php:3
    • > PHP Fatal error
      Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/wizscriber-video-scribing-banner-ads/admin/includes/meta-boxes.php:9
    • > PHP Warning
      Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/wizscriber-video-scribing-banner-ads/classes/class-wizScriber-list-table.php on line 4
    • > PHP Fatal error
      Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/wizscriber-video-scribing-banner-ads/wizScribe.php:16

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side

Optimizations

Plugin configuration 90% from 29 tests

readme.txt 88% from 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that need to be fixed:
  • Tags: There are too many tags (63 tag instead of maximum 10)
  • Screenshots: Add images for these screenshots: #1 (Plugin Settings with Preview), #2 (wizScriber in action (Knocking to grab attention))
Please take inspiration from this readme.txt

wizscriber-video-scribing-banner-ads/wizScribe.php 92% from 13 tests

"" version 1.25's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
  • Main file name: Please rename the main PHP file in this plugin to the plugin slug ("wizscriber-video-scribing-banner-ads.php" instead of "wizScribe.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
There were no executable files found in this plugin1,294 lines of code in 17 files:
LanguageFilesBlank linesComment linesLines of code
PHP10347221,008
JavaScript42429212
CSS36074

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.29
Average class complexity16.50
▷ Minimum class complexity16.00
▷ Maximum class complexity17.00
Average method complexity2.72
▷ Minimum method complexity1.00
▷ Maximum method complexity9.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes2
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes00.00%
Methods18
▷ Static methods316.67%
▷ Public methods18100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions17
▷ Named functions17100.00%
▷ Anonymous functions00.00%
Constants6
▷ Global constants6100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
16 PNG files occupy 0.48MB with 0.30MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
img/close.png2.81KB0.15KB▼ 94.54%
wizScribeSchell/img/close.png1.46KB0.69KB▼ 53.00%
screenshot-1.png130.62KB40.82KB▼ 68.75%
wizScribeSchell/img/ChalkboardSmall.png46.04KB30.77KB▼ 33.17%
img/Paper.png18.84KB8.11KB▼ 56.92%