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
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 38.63 ▼7.51 |
Dashboard /wp-admin | 3.10 ▼0.21 | 26.11 ▼29.67 |
Posts /wp-admin/edit.php | 3.10 ▼0.26 | 28.92 ▼16.13 |
Add New Post /wp-admin/post-new.php | 3.10 ▼2.79 | 23.99 ▼74.31 |
Media Library /wp-admin/upload.php | 3.10 ▼0.13 | 24.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
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,896 ▲150 | 13.72 ▼0.34 | 3.58 ▲1.78 | 37.64 ▼5.46 |
Dashboard /wp-admin | 2,222 ▲31 | 5.29 ▼0.60 | 104.99 ▼16.61 | 94.33 ▲52.39 |
Posts /wp-admin/edit.php | 2,121 ▲32 | 2.45 ▲0.40 | 36.61 ▼0.02 | 35.82 ▼0.86 |
Add New Post /wp-admin/post-new.php | 1,539 ▲2 | 23.35 ▲5.33 | 678.17 ▲19.61 | 34.85 ▼34.96 |
Media Library /wp-admin/upload.php | 1,416 ▲25 | 4.34 ▲0.04 | 101.96 ▼0.61 | 47.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
- > PHP Notice
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))
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:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 347 | 22 | 1,008 |
JavaScript | 4 | 24 | 29 | 212 |
CSS | 3 | 6 | 0 | 74 |
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 code | 0.29 |
Average class complexity | 16.50 |
▷ Minimum class complexity | 16.00 |
▷ Maximum class complexity | 17.00 |
Average method complexity | 2.72 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 18 | |
▷ Static methods | 3 | 16.67% |
▷ Public methods | 18 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 17 | |
▷ Named functions | 17 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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 | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/close.png | 2.81KB | 0.15KB | ▼ 94.54% |
wizScribeSchell/img/close.png | 1.46KB | 0.69KB | ▼ 53.00% |
screenshot-1.png | 130.62KB | 40.82KB | ▼ 68.75% |
wizScribeSchell/img/ChalkboardSmall.png | 46.04KB | 30.77KB | ▼ 33.17% |
img/Paper.png | 18.84KB | 8.11KB | ▼ 56.92% |