Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.42MB] [CPU: ▼148.33ms] Passed 4 tests
An overview of server-side resources used by Slider and Carousel Plus Widget for Social Media
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.24 ▲0.40 | 29.81 ▲3.75 |
Dashboard /wp-admin | 3.54 ▲0.47 | 38.93 ▼3.76 |
Posts /wp-admin/edit.php | 3.59 ▲0.47 | 34.05 ▼1.39 |
Add New Post /wp-admin/post-new.php | 5.84 ▲0.39 | 76.31 ▼591.16 |
Media Library /wp-admin/upload.php | 3.42 ▲0.41 | 30.08 ▲3.00 |
Insta Feed - WPOS /wp-admin/admin.php?page=iscwp-settings | 3.39 | 25.21 |
Getting Started /wp-admin/admin.php?page=iscw-designs | 3.39 | 25.60 |
Server storage [IO: ▲1.32MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 44 new files
Database: no new tables, 2 new options
New WordPress options |
---|
widget_iscw_insta_grid |
wpos_anylc_redirect |
Browser metrics Passed 4 tests
Checking browser requirements for Slider and Carousel Plus Widget for Social Media
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,723 ▲122 | 16.03 ▲0.39 | 5.07 ▲0.13 | 75.73 ▲2.71 |
Dashboard /wp-admin | 2,978 ▲79 | 6.03 ▼0.11 | 118.09 ▼17.15 | 161.65 ▼11.86 |
Posts /wp-admin/edit.php | 2,773 ▲33 | 3.24 ▲0.01 | 61.97 ▼1.55 | 140.56 ▼3.27 |
Add New Post /wp-admin/post-new.php | 2,520 ▼1,295 | 16.58 ▼2.16 | 385.06 ▼74.88 | 169.34 ▲3.74 |
Media Library /wp-admin/upload.php | 1,781 ▲29 | 5.55 ▲0.03 | 142.76 ▼0.64 | 186.29 ▼10.01 |
Insta Feed - WPOS /wp-admin/admin.php?page=iscwp-settings | 1,101 | 2.47 | 55.41 | 113.84 |
Getting Started /wp-admin/admin.php?page=iscw-designs | 1,293 | 2.41 | 56.62 | 114.79 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- This plugin did not uninstall successfully, leaving 2 options in the database
- wpos_anylc_redirect
- widget_iscw_insta_grid
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
- 11× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Notice
Undefined variable: count in wp-content/plugins/slider-and-carousel-plus-widget-for-instagram/templates/popup/popup.php on line 1
- > PHP Notice
Undefined variable: unique in wp-content/plugins/slider-and-carousel-plus-widget-for-instagram/templates/popup/popup.php on line 1
- > PHP Notice
Undefined variable: popup_attr in wp-content/plugins/slider-and-carousel-plus-widget-for-instagram/templates/popup/popup.php on line 1
- > PHP Notice
Undefined variable: instagram_link in wp-content/plugins/slider-and-carousel-plus-widget-for-instagram/templates/design-1.php on line 5
- > PHP Notice
Undefined variable: wrpper_cls in wp-content/plugins/slider-and-carousel-plus-widget-for-instagram/templates/design-1.php on line 1
- > PHP Notice
Undefined variable: height_css in wp-content/plugins/slider-and-carousel-plus-widget-for-instagram/templates/design-1.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/slider-and-carousel-plus-widget-for-instagram/templates/design-1.php:25
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/slider-and-carousel-plus-widget-for-instagram/templates/popup/design-1.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/slider-and-carousel-plus-widget-for-instagram/templates/popup/popup.php:3
- > PHP Notice
Undefined variable: offset_css in wp-content/plugins/slider-and-carousel-plus-widget-for-instagram/templates/design-1.php on line 1
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need to be fixed:
- Tags: You are using too many tags: 23 tag instead of maximum 10
slider-and-carousel-plus-widget-for-instagram/slider-carousel-plus-widget-for-instagram.php 92% from 13 tests
The entry point to "Slider and Carousel Plus Widget for Social Media" version 1.9.3 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("slider-and-carousel-plus-widget-for-instagram.php" instead of "slider-carousel-plus-widget-for-instagram.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected5,632 lines of code in 32 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 1 | 0 | 0 | 2,671 |
PHP | 20 | 619 | 765 | 2,068 |
CSS | 6 | 72 | 19 | 663 |
JavaScript | 5 | 66 | 13 | 230 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.55 |
Average class complexity | 27.86 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 80.00 |
Average method complexity | 5.95 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 38.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 1 | 14.29% |
Methods | 38 | |
▷ Static methods | 1 | 2.63% |
▷ Public methods | 36 | 94.74% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 5.26% |
Functions | 41 | |
▷ Named functions | 41 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 10 | |
▷ Global constants | 10 | 100.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
5 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/arrow-left.png | 0.36KB | 0.18KB | ▼ 50.00% |
assets/images/arrow-right.png | 0.35KB | 0.18KB | ▼ 49.17% |
assets/images/close.png | 0.84KB | 0.85KB | 0.00% |
wpos-analytics/assets/images/wpos-logo.png | 16.78KB | 9.19KB | ▼ 45.21% |
wpos-analytics/assets/images/icon.png | 11.25KB | 2.61KB | ▼ 76.80% |