Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▼0.97MB] [CPU: ▼175.19ms] Passed 4 tests
This is a short check of server-side resources used by IG Posts Carousel
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.62 ▼0.10 | 16.12 ▼4.99 |
Dashboard /wp-admin | 2.68 ▼0.38 | 18.84 ▼28.75 |
Posts /wp-admin/edit.php | 2.68 ▼0.43 | 17.84 ▼27.20 |
Add New Post /wp-admin/post-new.php | 2.68 ▼2.76 | 16.20 ▼629.63 |
Media Library /wp-admin/upload.php | 2.68 ▼0.33 | 17.89 ▼15.16 |
IG Posts Carousel /wp-admin/admin.php?page=ig-posts-carousel | 2.68 | 19.10 |
Getting Started /wp-admin/admin.php?page=ig-posts-carousel-getting-started | 2.68 | 18.28 |
Server storage [IO: ▲0.42MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 25 new files
Database: no new tables, 1 new option
New WordPress options |
---|
widget_ig_posts_carousel_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for IG Posts Carousel
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,821 ▲225 | 16.67 ▲1.01 | 12.71 ▼1.22 | 51.14 ▲1.32 |
Dashboard /wp-admin | 2,999 ▲68 | 5.91 ▼0.25 | 144.17 ▼19.16 | 110.00 ▲0.05 |
Posts /wp-admin/edit.php | 2,768 ▲29 | 2.72 ▲0.01 | 65.82 ▲0.96 | 84.42 ▼5.23 |
Add New Post /wp-admin/post-new.php | 1,634 ▲19 | 21.42 ▲0.02 | 297.68 ▼7.78 | 96.84 ▼19.51 |
Media Library /wp-admin/upload.php | 1,836 ▲29 | 5.03 ▲0.01 | 157.31 ▲5.65 | 109.58 ▼0.63 |
IG Posts Carousel /wp-admin/admin.php?page=ig-posts-carousel | 1,112 | 2.09 | 55.68 | 79.90 |
Getting Started /wp-admin/admin.php?page=ig-posts-carousel-getting-started | 1,162 | 2.06 | 60.94 | 89.63 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- This plugin did not uninstall without warnings or errors
- > Notice in wp-content/plugins/ig-posts-carousel/includes/ig-posts-carousel-function.php+7
Trying to access array offset on value of type bool
- The uninstall procedure has failed, leaving 1 option in the database
- widget_ig_posts_carousel_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Please fix the following server-side errors
- 8 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=ig-posts-carousel-getting-started
- > Notice in wp-content/plugins/ig-posts-carousel/includes/ig-posts-carousel-function.php+10
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
Please fix the following
- 6× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/ig-posts-carousel/includes/widgets/ig-posts-carousel-widget.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_get_theme() in wp-content/plugins/ig-posts-carousel/includes/admin/welcome/sections/welcome-intro.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ig-posts-carousel/includes/admin/welcome-screen.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/ig-posts-carousel/includes/admin/ig-posts-carousel-settings.php:149
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ig-posts-carousel/includes/ig-posts-carousel-function.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/ig-posts-carousel/includes/shortcodes/ig-posts-carousel-shortcodes.php:147
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% 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 need to be fixed:
- Tags: Please delete some tags, you are using 14 tag instead of maximum 10
- Screenshots: Add images for these screenshots: #1 (Posts and products Carousel), #2 (IG Posts Carousel settings, widget and shortcode)
ig-posts-carousel/ig-posts-carousel.php Passed 13 tests
Analyzing the main PHP file in "IG Posts Carousel" version 1.7
75 characters long description:
Easily add a responsive carousel of recent posts and products to WordPress.
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 detected3,317 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 3 | 828 | 49 | 2,061 |
PHP | 7 | 45 | 62 | 592 |
CSS | 2 | 53 | 5 | 336 |
Sass | 4 | 26 | 6 | 315 |
SVG | 1 | 1 | 0 | 13 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 20.67 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 48.00 |
Average method complexity | 3.95 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 26.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 20 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 20 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 7 | |
▷ Named functions | 7 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.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
PNG images were not found in this plugin