Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.10MB] [CPU: ▼300.45ms] Passed 4 tests
An overview of server-side resources used by SuperSlider-Media-Pop
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.68 ▲0.17 | 55.59 ▲4.79 |
Dashboard /wp-admin | 3.53 ▲0.13 | 33.93 ▲1.99 |
Posts /wp-admin/edit.php | 3.78 ▲0.14 | 38.97 ▲1.41 |
Add New Post /wp-admin/post-new.php | 7.00 ▲0.03 | 94.96 ▼1,207.06 |
Media Library /wp-admin/upload.php | 3.42 ▲0.13 | 25.33 ▲1.86 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 3 new files
Database: no new tables, 5 new options
New WordPress options |
---|
ss_admin_thumb |
ss_image_default_size |
ss_image_default_link_type |
jpeg_quality |
ss_image_default_align |
Browser metrics Passed 4 tests
SuperSlider-Media-Pop: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,783 ▲29 | 16.21 ▲0.51 | 6.25 ▼0.20 | 2.66 ▲0.00 |
Dashboard /wp-admin | 2,895 ▲40 | 6.15 ▲0.00 | 116.08 ▼21.34 | 154.22 ▼6.65 |
Posts /wp-admin/edit.php | 2,812 ▲124 | 3.88 ▲0.64 | 113.07 ▲48.88 | 141.14 ▼6.95 |
Add New Post /wp-admin/post-new.php | 1,753 ▲92 | 21.83 ▲6.00 | 440.70 ▲31.53 | 175.07 ▲19.35 |
Media Library /wp-admin/upload.php | 1,733 ▲35 | 5.57 ▲0.06 | 136.63 ▼5.92 | 189.08 ▲2.52 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- The uninstall procedure has failed, leaving 5 options in the database
- ss_image_default_link_type
- ss_image_default_align
- ss_image_default_size
- jpeg_quality
- ss_admin_thumb
Smoke tests 75% from 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)
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 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
Please fix the following items
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/superslider-media-pop/superslider-media-pop.php:52
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that require attention:
- Tags: There are too many tags (14 tag instead of maximum 10)
superslider-media-pop/superslider-media-pop.php 92% from 13 tests
The main PHP file in "SuperSlider-Media-Pop" ver. 2.2 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 189 characters long)
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 detected463 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 110 | 103 | 445 |
JavaScript | 1 | 5 | 0 | 18 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 48.00 |
▷ Minimum class complexity | 48.00 |
▷ Maximum class complexity | 48.00 |
Average method complexity | 2.27 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.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 | 37 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 37 | 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
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin