Benchmarks
Plugin footprint Passed 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: ▼169.47ms] Passed 4 tests
Server-side resources used by Web Video Recorder
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.85 ▲0.01 | 41.26 ▲7.50 |
Dashboard /wp-admin | 3.06 ▲0.01 | 43.35 ▲0.68 |
Posts /wp-admin/edit.php | 3.11 ▲0.01 | 40.38 ▼4.79 |
Add New Post /wp-admin/post-new.php | 5.43 ▼0.01 | 95.49 ▼671.60 |
Media Library /wp-admin/upload.php | 3.00 ▲0.00 | 31.62 ▼2.17 |
Server storage [IO: ▲0.18MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 14 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Web Video Recorder: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,709 ▲113 | 15.84 ▲0.12 | 9.28 ▼1.32 | 84.24 ▲29.43 |
Dashboard /wp-admin | 2,973 ▲36 | 5.86 ▼0.13 | 130.99 ▼14.88 | 119.63 ▲17.80 |
Posts /wp-admin/edit.php | 2,739 ▼0 | 2.72 ▲0.01 | 61.52 ▼3.59 | 94.88 ▲3.75 |
Add New Post /wp-admin/post-new.php | 1,672 ▲57 | 18.80 ▼3.12 | 364.64 ▲60.39 | 107.30 ▲2.39 |
Media Library /wp-admin/upload.php | 1,807 ▲56 | 5.04 ▲0.04 | 141.16 ▼2.33 | 116.90 ▼2.73 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Uninstaller ran successfully
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
Good news, no errors were detected
SRP 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following items
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/web-video-recorder/wp-web-video-record.php
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/web-video-recorder/webViedoShortCode.php:24
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need to be fixed:
- Screenshots: Screenshot #8 (screenshot-7.png) image missing
web-video-recorder/wp-web-video-record.php 92% from 13 tests
Analyzing the main PHP file in "Web Video Recorder" version 1.0.0
The following require your attention:
- Main file name: The principal plugin file should be the same as the plugin slug ("web-video-recorder.php" instead of "wp-web-video-record.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected4,511 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 3 | 403 | 467 | 3,911 |
CSS | 3 | 22 | 11 | 302 |
XML | 3 | 0 | 0 | 190 |
PHP | 2 | 18 | 30 | 108 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 1.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1.00 |
Average method complexity | 1.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 1.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 2 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 2 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG images were found in this plugin