Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.24MB] [CPU: ▼311.31ms] Passed 4 tests
Analyzing server-side resources used by 24liveblog - live blog tool
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.02 | 60.14 ▲8.02 |
Dashboard /wp-admin | 3.43 ▲0.03 | 31.56 ▼1.42 |
Posts /wp-admin/edit.php | 3.66 ▲0.02 | 34.49 ▼2.86 |
Add New Post /wp-admin/post-new.php | 5.98 ▼0.99 | 61.15 ▼1,234.82 |
Media Library /wp-admin/upload.php | 3.31 ▲0.01 | 24.83 ▼6.13 |
24liveblog /wp-admin/options-general.php?page=lb24_plugin | 3.32 | 22.05 |
Server storage [IO: ▲7.52MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 31 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
24liveblog - live blog tool: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,802 ▲49 | 16.17 ▲0.55 | 6.51 ▲0.28 | 2.83 ▼0.22 |
Dashboard /wp-admin | 2,899 ▲38 | 6.10 ▼0.08 | 117.53 ▼16.19 | 158.52 ▼2.75 |
Posts /wp-admin/edit.php | 2,695 ▲1 | 3.23 ▼0.00 | 63.36 ▼1.96 | 140.73 ▼1.61 |
Add New Post /wp-admin/post-new.php | 1,816 ▲155 | 26.21 ▲9.70 | 422.58 ▲10.88 | 160.27 ▲2.92 |
Media Library /wp-admin/upload.php | 1,702 ▲7 | 5.52 ▼0.01 | 144.13 ▼3.40 | 187.48 ▼9.23 |
24liveblog /wp-admin/options-general.php?page=lb24_plugin | 1,047 | 2.43 | 53.09 | 114.85 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Uninstaller ran successfully
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Looking good! No server-side errors or output on direct access of PHP files
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)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Please fix the following attributes:
- Screenshots: These screenshots do not have images: #1 (Live blog demo), #2 (Event creation), #3 (Live blog)
24liveblog/plugin.php 85% from 13 tests
The entry point to "24liveblog - live blog tool" version 2.1 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 175 characters long)
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("24liveblog.php" instead of "plugin.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected9,583 lines of code in 25 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 2 | 0 | 0 | 7,132 |
JavaScript | 4 | 305 | 930 | 1,133 |
CSS | 4 | 28 | 23 | 547 |
Sass | 3 | 66 | 1 | 427 |
PHP | 4 | 30 | 69 | 258 |
SVG | 7 | 0 | 5 | 69 |
Markdown | 1 | 8 | 0 | 17 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.11 |
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 | 8 | |
▷ Named functions | 8 | 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 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
5 PNG files occupy 5.32MB with 3.44MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 515.91KB | 148.17KB | ▼ 71.28% |
screenshot-1.png | 2,729.61KB | 828.11KB | ▼ 69.66% |
screenshot-3.png | 2,177.05KB | 686.58KB | ▼ 68.46% |
assets/lb24-logo.png | 22.00KB | 7.47KB | ▼ 66.03% |
assets/lb24-logo-white.png | 7.39KB | 3.87KB | ▼ 47.69% |