Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.36MB] [CPU: ▼4.36ms] Passed 4 tests
An overview of server-side resources used by Gallery-Slider & Follow Button For Pinterest & Responsive Image Slider
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.09 | 40.71 ▲0.93 |
Dashboard /wp-admin | 3.83 ▲0.49 | 51.28 ▼4.79 |
Posts /wp-admin/edit.php | 3.89 ▲0.49 | 52.13 ▲4.67 |
Add New Post /wp-admin/post-new.php | 6.38 ▲0.45 | 99.12 ▼12.69 |
Media Library /wp-admin/upload.php | 3.70 ▲0.43 | 39.49 ▼0.89 |
All Slider /wp-admin/admin.php?page=gspnt-all-slider | 3.66 | 47.20 |
Add New Slider /wp-admin/admin.php?page=gspnt-add-new-slider | 3.66 | 36.78 |
User-Board Setting /wp-admin/admin.php?page=gspnt-setting | 3.67 | 37.53 |
Add Grid Slid Pins /wp-admin/post-new.php?post_type=cdlzr_gspint | 3.74 | 45.01 |
All Grid Slid Pins /wp-admin/admin.php?page=cdlzr_gspnt_box | 3.66 | 34.47 |
Server storage [IO: ▲8.21MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 192 new files
Database: 1 new table, 8 new options
New tables |
---|
wp_cdlzr_gspint_setting |
New WordPress options |
---|
db_upgraded |
WRIS_Settings |
widget_recent-posts |
widget_codelizar_pf |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Gallery-Slider & Follow Button For Pinterest & Responsive Image Slider
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,959 ▲198 | 13.56 ▼0.79 | 9.34 ▲7.71 | 48.73 ▲6.73 |
Dashboard /wp-admin | 2,257 ▲80 | 5.65 ▼0.01 | 90.24 ▼0.83 | 39.60 ▼6.42 |
Posts /wp-admin/edit.php | 2,165 ▲65 | 2.02 ▲0.04 | 35.54 ▼0.82 | 35.23 ▼2.18 |
Add New Post /wp-admin/post-new.php | 1,581 ▲44 | 22.99 ▲4.77 | 662.08 ▲38.41 | 51.38 ▼20.67 |
Media Library /wp-admin/upload.php | 1,465 ▲65 | 4.24 ▲0.09 | 94.63 ▼16.86 | 45.81 ▼2.08 |
All Slider /wp-admin/admin.php?page=gspnt-all-slider | 1,812 | 2.74 | 45.06 | 48.84 |
Add New Slider /wp-admin/admin.php?page=gspnt-add-new-slider | 5,103 | 9.84 | 228.80 | 218.44 |
User-Board Setting /wp-admin/admin.php?page=gspnt-setting | 1,104 | 2.72 | 43.13 | 76.22 |
Add Grid Slid Pins /wp-admin/post-new.php?post_type=cdlzr_gspint | 3,073 | 5.03 | 127.79 | 58.78 |
All Grid Slid Pins /wp-admin/admin.php?page=cdlzr_gspnt_box | 1,828 | 2.74 | 34.89 | 33.49 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- The uninstall procedure failed, leaving 1 table in the database
- wp_cdlzr_gspint_setting
- The uninstall procedure has failed, leaving 8 options in the database
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- widget_codelizar_pf
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- WRIS_Settings
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however 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 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 88% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need your attention:
- Screenshots: Add descriptions for screenshots #1, #10, #11, #12, #13, #14, #15, #16, #17, #18, #19, #2, #20, #21, #3, #4, #5, #6, #7, #8, #9 in gallery-slider-for-pinterest/assets to your readme.txt
- Tags: Please delete some tags, you are using 13 tag instead of maximum 10
gallery-slider-for-pinterest/grid-slid-pinterest.php 77% from 13 tests
Analyzing the main PHP file in "Gallery-Slider & Follow Button For Pinterest & Responsive Image Slider" version 0.6
You should first fix the following items:
- Domain Path: The domain path folder does not exist ("/languages")
- Main file name: It is recommended to name the main PHP file as the plugin slug ("gallery-slider-for-pinterest.php" instead of "grid-slid-pinterest.php")
- Text Domain: The text domain should only use lowercase characters and dashes
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin55,062 lines of code in 126 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 32 | 2,480 | 2,395 | 16,785 |
JavaScript | 28 | 3,179 | 2,370 | 15,940 |
SVG | 8 | 0 | 24 | 14,997 |
PHP | 26 | 512 | 200 | 3,567 |
Sass | 16 | 43 | 34 | 1,903 |
LESS | 16 | 41 | 51 | 1,870 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 11.21 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 100.00 |
Average method complexity | 3.56 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 70.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 14 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 14 | 100.00% |
▷ Final classes | 1 | 7.14% |
Methods | 57 | |
▷ Static methods | 27 | 47.37% |
▷ Public methods | 53 | 92.98% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 7.02% |
Functions | 4 | |
▷ Named functions | 3 | 75.00% |
▷ Anonymous functions | 1 | 25.00% |
Constants | 7 | |
▷ Global constants | 7 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
26 PNG files occupy 0.16MB with 0.08MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/assets/img/preview/Display Slider Post Title.png | 5.41KB | 2.99KB | ▼ 44.68% |
admin/assets/img/preview/Slider Width.png | 5.64KB | 2.84KB | ▼ 49.74% |
admin/assets/img/preview/Show Thumbnail.png | 7.96KB | 3.91KB | ▼ 50.93% |
admin/assets/img/preview/Show Navigation Arrow.png | 8.65KB | 4.18KB | ▼ 51.68% |
admin/assets/img/preview/Display Slide Description.png | 3.62KB | 1.42KB | ▼ 60.73% |