Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The following installer errors require your attention
- The plugin cannot be installed
- > Notice in wp-content/plugins/superslider-excerpt/superslider-excerpt.php+310
Trying to access array offset on value of type bool
Server metrics [RAM: ▼0.22MB] [CPU: ▼309.42ms] Passed 4 tests
A check of server-side resources used by SuperSlider-Excerpt
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.69 ▲0.17 | 54.45 ▲3.46 |
Dashboard /wp-admin | 3.54 ▲0.13 | 35.08 ▲1.79 |
Posts /wp-admin/edit.php | 3.76 ▲0.12 | 38.78 ▲3.26 |
Add New Post /wp-admin/post-new.php | 5.75 ▼1.22 | 53.50 ▼1,245.02 |
Media Library /wp-admin/upload.php | 3.41 ▲0.11 | 26.32 ▲2.29 |
SuperSlider-Excerpt /wp-admin/options-general.php?page=superslider-excerpt | 3.67 | 23.29 |
Server storage [IO: ▲0.61MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 35 new files
Database: no new tables, 4 new options
New WordPress options |
---|
excerpt_size_h |
excerpt_size_w |
ssExcerpt_options |
excerpt_crop |
Browser metrics Passed 4 tests
SuperSlider-Excerpt: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,931 ▲176 | 18.23 ▲2.61 | 25.87 ▲19.69 | 2.93 ▲0.04 |
Dashboard /wp-admin | 2,897 ▲43 | 6.13 ▼0.06 | 118.68 ▼16.89 | 160.56 ▼0.77 |
Posts /wp-admin/edit.php | 2,696 ▲2 | 3.23 ▼0.00 | 64.59 ▲4.26 | 140.71 ▼1.30 |
Add New Post /wp-admin/post-new.php | 1,619 ▼42 | 18.98 ▲1.50 | 332.19 ▼83.70 | 195.91 ▲46.43 |
Media Library /wp-admin/upload.php | 1,703 ▲2 | 5.52 ▲0.07 | 138.01 ▼11.05 | 183.63 ▲5.10 |
SuperSlider-Excerpt /wp-admin/options-general.php?page=superslider-excerpt | 2,443 | 3.14 | 69.59 | 136.03 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin did not uninstall successfully, leaving 4 options in the database
- excerpt_crop
- excerpt_size_w
- ssExcerpt_options
- excerpt_size_h
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Please fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=superslider-excerpt
- > Notice in wp-content/plugins/superslider-excerpt/admin/superslider-excerpt-ui.php+633
Trying to access array offset on value of type bool
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function current_user_can() in wp-content/plugins/superslider-excerpt/admin/superslider-excerpt-ui.php:25
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/superslider-excerpt/superslider-excerpt.php:303
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
- Screenshots: Add images for these screenshots: #1 (![SuperSlider-Excerpt options screen](screenshot-1.png "SuperSlider-Excerpt options screen")), #2 (![SuperSlider-Excerpt ](screenshot-2.png "SuperSlider-Excerpt ")), #3 (![SuperSlider-Excerpt ](screenshot-3.png "SuperSlider-Excerpt Morphed on mouseover "))
superslider-excerpt/superslider-excerpt.php 92% from 13 tests
"SuperSlider-Excerpt" version 2.2's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
- Description: Please keep the plugin description shorter than 140 characters (currently 294 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin2,611 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 6 | 34 | 81 | 1,102 |
PHP | 2 | 243 | 109 | 932 |
PO File | 2 | 159 | 184 | 348 |
CSS | 6 | 23 | 27 | 229 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 67.00 |
▷ Minimum class complexity | 67.00 |
▷ Maximum class complexity | 67.00 |
Average method complexity | 3.54 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 22.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 | 26 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 26 | 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 | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
9 PNG files occupy 0.26MB with 0.14MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/img/blue.png | 1.19KB | 0.62KB | ▼ 48.15% |
plugin-data/superslider/ssExcerpt/black/excerpt_image_bg.png | 26.49KB | 0.20KB | ▼ 99.23% |
admin/img/black.png | 1.29KB | 0.67KB | ▼ 47.64% |
admin/img/logo_superslider.png | 4.67KB | 2.61KB | ▼ 44.16% |
admin/img/default.png | 1.45KB | 0.92KB | ▼ 36.82% |