Benchmarks
Plugin footprint 83% from 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.01MB] [CPU: ▼306.50ms] Passed 4 tests
An overview of server-side resources used by BePro Listings Gallery Slider
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▼0.00 | 52.02 ▼1.83 |
Dashboard /wp-admin | 3.47 ▲0.06 | 32.22 ▼5.00 |
Posts /wp-admin/edit.php | 3.69 ▲0.05 | 37.77 ▼0.25 |
Add New Post /wp-admin/post-new.php | 6.93 ▼0.04 | 94.18 ▼1,218.92 |
Media Library /wp-admin/upload.php | 3.34 ▲0.05 | 26.20 ▲1.99 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 1 new option
New WordPress options |
---|
bepro_listings |
Browser metrics Passed 4 tests
This is an overview of browser requirements for BePro Listings Gallery Slider
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,793 ▲71 | 15.99 ▲0.17 | 8.16 ▲2.38 | 2.26 ▲0.02 |
Dashboard /wp-admin | 2,889 ▲31 | 6.12 ▼0.13 | 121.46 ▼11.51 | 156.77 ▼5.85 |
Posts /wp-admin/edit.php | 2,688 ▼3 | 3.24 ▲0.01 | 63.36 ▲0.47 | 139.06 ▼4.88 |
Add New Post /wp-admin/post-new.php | 1,773 ▲112 | 21.76 ▲5.60 | 451.55 ▲17.42 | 156.62 ▲4.70 |
Media Library /wp-admin/upload.php | 1,698 ▼0 | 5.48 ▼0.06 | 141.41 ▲6.11 | 186.16 ▲3.47 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- This plugin does not fully uninstall, leaving 1 option in the database
- bepro_listings
Smoke tests Passed 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)
Good news, no errors were detected
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Tags: Please reduce the number of tags, currently 17 tag instead of maximum 10
bepro-listings-gallery-sliders/bepro_listings_gallery_sliders.php 92% from 13 tests
This is the main PHP file of "BePro Listings Gallery Slider" version 1.0.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
The following require your attention:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("bepro-listings-gallery-sliders.php" instead of "bepro_listings_gallery_sliders.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
No dangerous file extensions were detected1,270 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 78 | 475 | 842 |
CSS | 3 | 39 | 23 | 257 |
PHP | 1 | 44 | 28 | 171 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
Average class complexity | 17.00 |
▷ Minimum class complexity | 17.00 |
▷ Maximum class complexity | 17.00 |
Average method complexity | 2.07 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.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 | 15 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 15 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
All PNG images should be compressed to minimize bandwidth usage for end users
2 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/mCSB_buttons.png | 1.36KB | 0.41KB | ▼ 69.94% |
images/controls.png | 2.74KB | 1.42KB | ▼ 48.29% |