Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼144.20ms] Passed 4 tests
Analyzing server-side resources used by Live Broadcast
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.86 ▲0.14 | 35.91 ▲10.75 |
Dashboard /wp-admin | 3.09 ▲0.03 | 49.85 ▼6.03 |
Posts /wp-admin/edit.php | 3.14 ▲0.02 | 50.04 ▼10.56 |
Add New Post /wp-admin/post-new.php | 5.44 ▲0.01 | 99.14 ▼563.98 |
Media Library /wp-admin/upload.php | 3.03 ▲0.03 | 38.65 ▲3.76 |
All Posts Live /wp-admin/edit.php?post_type=live_broadcast | 3.07 | 38.98 |
New Post Live /wp-admin/post-new.php?post_type=live_broadcast | 3.09 | 52.40 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 6 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
This is an overview of browser requirements for Live Broadcast
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,718 ▲105 | 15.98 ▲0.62 | 8.87 ▼2.19 | 49.25 ▼2.71 |
Dashboard /wp-admin | 3,005 ▲71 | 5.90 ▼0.10 | 171.13 ▼23.17 | 120.94 ▼8.13 |
Posts /wp-admin/edit.php | 2,774 ▲35 | 2.73 ▲0.03 | 78.93 ▲3.90 | 95.94 ▲2.64 |
Add New Post /wp-admin/post-new.php | 1,706 ▲125 | 18.68 ▲0.56 | 454.57 ▲14.20 | 116.48 ▼3.52 |
Media Library /wp-admin/upload.php | 1,842 ▲35 | 5.03 ▲0.00 | 173.71 ▲9.86 | 130.30 ▲6.52 |
All Posts Live /wp-admin/edit.php?post_type=live_broadcast | 1,441 | 2.64 | 75.82 | 74.57 |
New Post Live /wp-admin/post-new.php?post_type=live_broadcast | 2,199 | 4.59 | 154.53 | 92.77 |
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 | Just a short smoke test targeting errors on the server (in the Apache logs)
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 items
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function load_plugin_textdomain() in wp-content/plugins/live-broadcast/live-broadcast.php:14
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need your attention:
- Donate link: Please fix this invalid url: ""
live-broadcast/live-broadcast.php 92% from 13 tests
Analyzing the main PHP file in "Live Broadcast" version 0.1.3
Please take the time to fix the following:
- Text Domain: The text domain follows the same naming rules as the plugin slug: lowercase characters and dashes
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin130 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 8 | 11 | 66 |
PO File | 2 | 12 | 24 | 64 |
PHP code Passed 2 tests
A brief analysis 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.36 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.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
There are no PNG files in this plugin