Benchmarks
Plugin footprint 83% 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.47MB] [CPU: ▼5.25ms] Passed 4 tests
Server-side resources used by Post Grid, Slider & Carousel Ultimate - with Shortcode, Gutenberg Block & Elementor Widget
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.00 ▲0.54 | 42.08 ▼3.06 |
Dashboard /wp-admin | 3.82 ▲0.47 | 51.79 ▼18.51 |
Posts /wp-admin/edit.php | 3.87 ▲0.50 | 56.45 ▲5.97 |
Add New Post /wp-admin/post-new.php | 6.34 ▲0.44 | 87.19 ▼5.39 |
Media Library /wp-admin/upload.php | 3.68 ▲0.45 | 41.59 ▲7.34 |
Usage & Support /wp-admin/edit.php?post_type=adl-shortcode&page=support | 3.66 | 37.19 |
New Grid/Carousel /wp-admin/post-new.php?post_type=adl-shortcode | 3.80 | 49.04 |
All Grid/Carousel /wp-admin/edit.php?post_type=adl-shortcode | 3.80 | 40.27 |
Server storage [IO: ▲1.17MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 98 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Post Grid, Slider & Carousel Ultimate - with Shortcode, Gutenberg Block & Elementor Widget
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,286 ▲550 | 24.05 ▲9.78 | 39.95 ▲38.05 | 44.74 ▲0.38 |
Dashboard /wp-admin | 2,329 ▲159 | 9.74 ▲4.06 | 110.35 ▲7.43 | 43.36 ▲2.29 |
Posts /wp-admin/edit.php | 2,231 ▲131 | 9.27 ▲7.29 | 77.63 ▲38.47 | 37.11 ▼1.92 |
Add New Post /wp-admin/post-new.php | 6,416 ▲4,890 | 27.92 ▲4.70 | 792.79 ▲131.19 | 40.24 ▼11.17 |
Media Library /wp-admin/upload.php | 1,556 ▲156 | 11.26 ▲6.99 | 126.21 ▲12.92 | 41.23 ▼0.90 |
Usage & Support /wp-admin/edit.php?post_type=adl-shortcode&page=support | 1,098 | 9.16 | 72.93 | 44.93 |
New Grid/Carousel /wp-admin/post-new.php?post_type=adl-shortcode | 6,107 | 12.84 | 261.44 | 37.61 |
All Grid/Carousel /wp-admin/edit.php?post_type=adl-shortcode | 1,242 | 9.61 | 73.77 | 25.81 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP 0% 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
Almost there! Just fix the following items
- 6× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/post-grid-carousel-ultimate/includes/classes/shortcode.php
- > /wp-content/plugins/post-grid-carousel-ultimate/includes/classes/migration.php
- > /wp-content/plugins/post-grid-carousel-ultimate/includes/support.php
- > /wp-content/plugins/post-grid-carousel-ultimate/post-grid-and-carousel-ultimate.php
- > /wp-content/plugins/post-grid-carousel-ultimate/includes/templates/theme-1.php
- > /wp-content/plugins/post-grid-carousel-ultimate/includes/templates/theme-2.php
- 36× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Notice
Undefined variable: display_read_more in wp-content/plugins/post-grid-carousel-ultimate/includes/templates/theme-3.php on line 46
- > PHP Notice
Undefined variable: display_title in wp-content/plugins/post-grid-carousel-ultimate/includes/templates/theme-3.php on line 34
- > PHP Notice
Undefined variable: display_author in wp-content/plugins/post-grid-carousel-ultimate/includes/templates/theme-4.php on line 22
- > PHP Notice
Undefined variable: display_title in wp-content/plugins/post-grid-carousel-ultimate/includes/templates/theme-4.php on line 50
- > PHP Fatal error
Uncaught Error: Call to undefined function get_object_taxonomies() in wp-content/plugins/post-grid-carousel-ultimate/includes/settings/sortable.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/post-grid-carousel-ultimate/includes/elementor/init.php:11
- > PHP Notice
Undefined variable: display_title in wp-content/plugins/post-grid-carousel-ultimate/includes/templates/theme-2.php on line 15
- > PHP Notice
Undefined variable: display_content in wp-content/plugins/post-grid-carousel-ultimate/includes/templates/theme-2.php on line 21
- > PHP Notice
Undefined variable: display_date in wp-content/plugins/post-grid-carousel-ultimate/includes/templates/theme-4.php on line 36
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/post-grid-carousel-ultimate/includes/settings/general.php:20
- > PHP Notice
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please take a look at the following user-side issues
- 3 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=adl-shortcode
- > Network (severe)
wp-content/plugins/post-grid-carousel-ultimate/assets/js/macy.min.js?ver=6.3.1 - Failed to load resource: the server responded with a status of 404 (Not Found)
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
Attributes that need to be fixed:
- Screenshots: Please add images for these screenshots: #6 (Filterable Grid), #7 (Widget), #8 (Backend: All Grid/Carousel), #9 (Backend: New Grid/Carousel)
post-grid-carousel-ultimate/post-grid-and-carousel-ultimate.php 92% from 13 tests
The primary PHP file in "Post Grid, Slider & Carousel Ultimate - with Shortcode, Gutenberg Block & Elementor Widget" version 1.6.6 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("post-grid-carousel-ultimate.php" instead of "post-grid-and-carousel-ultimate.php")
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected12,611 lines of code in 83 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 32 | 869 | 841 | 6,134 |
CSS | 10 | 459 | 220 | 3,566 |
Sass | 12 | 70 | 5 | 955 |
JavaScript | 8 | 69 | 94 | 866 |
XML | 6 | 0 | 0 | 735 |
SVG | 14 | 0 | 0 | 213 |
JSON | 1 | 1 | 0 | 142 |
PHP code 50% from 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
It is recommended to fix the following
- Method cyclomatic complexity should be reduced to less than 100 (currently 129)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.49 |
Average class complexity | 40.75 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 129.00 |
Average method complexity | 4.43 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 129.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 12 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 12 | 100.00% |
▷ Final classes | 1 | 8.33% |
Methods | 139 | |
▷ Static methods | 4 | 2.88% |
▷ Public methods | 103 | 74.10% |
▷ Protected methods | 7 | 5.04% |
▷ Private methods | 29 | 20.86% |
Functions | 12 | |
▷ Named functions | 12 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 8 | |
▷ Global constants | 8 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
1 PNG file occupies 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/js/gc.png | 8.61KB | 5.00KB | ▼ 41.99% |