Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼137.50ms] Passed 4 tests
Analyzing server-side resources used by Algori Video and Image Slider
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.86 ▲0.14 | 43.35 ▲20.83 |
Dashboard /wp-admin | 3.08 ▲0.03 | 54.51 ▲7.03 |
Posts /wp-admin/edit.php | 3.13 ▲0.02 | 52.97 ▼7.81 |
Add New Post /wp-admin/post-new.php | 5.44 ▲0.01 | 103.88 ▼553.85 |
Media Library /wp-admin/upload.php | 3.02 ▲0.02 | 43.88 ▲4.65 |
Server storage [IO: ▲1.12MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 35 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by Algori Video and Image Slider
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,823 ▲186 | 16.41 ▲0.80 | 14.91 ▲4.26 | 56.97 ▲4.87 |
Dashboard /wp-admin | 2,979 ▲45 | 6.03 ▲0.10 | 158.94 ▲1.68 | 156.37 ▲36.64 |
Posts /wp-admin/edit.php | 2,748 ▲9 | 2.73 ▲0.01 | 75.76 ▲5.01 | 104.72 ▲12.42 |
Add New Post /wp-admin/post-new.php | 1,701 ▲201 | 16.04 ▼2.74 | 430.40 ▲30.53 | 122.56 ▲9.81 |
Media Library /wp-admin/upload.php | 1,816 ▲9 | 5.08 ▲0.05 | 186.33 ▲8.47 | 145.67 ▲23.15 |
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 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Please fix the following attributes:
- Tags: Please delete some tags, you are using 13 tag instead of maximum 10
algori-image-video-slider/algori-image-video-slider-lite.php 85% from 13 tests
The entry point to "Algori Video and Image Slider" version 1.0.6 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 310 characters long)
- Main file name: Name the main plugin file the same as the plugin slug ("algori-image-video-slider.php" instead of "algori-image-video-slider-lite.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin3,175 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 5 | 913 | 226 | 2,604 |
CSS | 4 | 44 | 5 | 276 |
Markdown | 1 | 40 | 0 | 116 |
Sass | 3 | 17 | 1 | 95 |
PHP | 3 | 14 | 65 | 58 |
JSON | 1 | 0 | 0 | 13 |
SVG | 1 | 1 | 0 | 13 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.14 |
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 | 1 | |
▷ Named functions | 1 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
8 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
dist/slick/images/arrow-left-big-black.png | 0.45KB | 0.22KB | ▼ 51.94% |
dist/slick/images/arrow-left-black.png | 0.28KB | 0.23KB | ▼ 15.60% |
dist/slick/images/arrow-left.png | 0.43KB | 0.23KB | ▼ 46.17% |
dist/slick/images/arrow-right-black.png | 0.25KB | 0.23KB | ▼ 9.34% |
dist/slick/images/arrow-left-big.png | 0.43KB | 0.22KB | ▼ 49.43% |