Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲1.11MB] [CPU: ▼2.62ms] Passed 4 tests
Analyzing server-side resources used by Wp Post Grid / Slider / Filter
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.63 ▲1.17 | 44.48 ▲5.29 |
Dashboard /wp-admin | 4.45 ▲1.10 | 51.72 ▼5.09 |
Posts /wp-admin/edit.php | 4.50 ▲1.14 | 54.57 ▲10.11 |
Add New Post /wp-admin/post-new.php | 6.99 ▲1.11 | 84.31 ▼6.62 |
Media Library /wp-admin/upload.php | 4.30 ▲1.08 | 41.11 ▼4.05 |
All Full Width Grid /wp-admin/edit.php?post_type=xgp-full-width | 4.41 | 41.73 |
All Post Filter /wp-admin/edit.php?post_type=xgp-post-filter | 4.41 | 37.91 |
All Featured Grid /wp-admin/edit.php?post_type=xgp-featured | 4.41 | 40.32 |
All Header Slider /wp-admin/edit.php?post_type=xgp-header | 4.41 | 41.56 |
All Post Layouts /wp-admin/edit.php?post_type=xgp-post-layout | 4.41 | 39.37 |
All Thumbnail /wp-admin/edit.php?post_type=xgp-thumbnail | 4.41 | 39.18 |
Settings /wp-admin/admin.php?page=xg-posts-heper | 4.28 | 35.82 |
Server storage [IO: ▲6.42MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 103 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Wp Post Grid / Slider / Filter
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,050 ▲304 | 14.89 ▲0.51 | 7.67 ▲5.95 | 38.02 ▼2.29 |
Dashboard /wp-admin | 2,313 ▲127 | 5.88 ▲0.97 | 106.11 ▲1.03 | 63.59 ▲21.35 |
Posts /wp-admin/edit.php | 2,198 ▲109 | 2.60 ▲0.60 | 45.66 ▲10.56 | 64.60 ▲30.76 |
Add New Post /wp-admin/post-new.php | 1,612 ▲98 | 23.81 ▲6.21 | 657.33 ▼9.34 | 119.37 ▲53.19 |
Media Library /wp-admin/upload.php | 1,499 ▲111 | 4.99 ▲0.71 | 97.04 ▼6.74 | 68.55 ▲21.41 |
All Full Width Grid /wp-admin/edit.php?post_type=xgp-full-width | 1,172 | 2.60 | 37.72 | 57.98 |
All Post Filter /wp-admin/edit.php?post_type=xgp-post-filter | 1,148 | 2.53 | 41.38 | 43.30 |
All Featured Grid /wp-admin/edit.php?post_type=xgp-featured | 1,169 | 2.66 | 39.19 | 51.77 |
All Header Slider /wp-admin/edit.php?post_type=xgp-header | 1,166 | 2.49 | 38.12 | 53.55 |
All Post Layouts /wp-admin/edit.php?post_type=xgp-post-layout | 1,169 | 2.48 | 39.45 | 51.53 |
All Thumbnail /wp-admin/edit.php?post_type=xgp-thumbnail | 1,166 | 2.49 | 38.06 | 52.20 |
Settings /wp-admin/admin.php?page=xg-posts-heper | 936 | 2.28 | 29.79 | 31.42 |
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
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/wp-post-grid-slider-filter-by-xgenious/lib/xgm/xg_metabox_framework.php:34
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/wp-post-grid-slider-filter-by-xgenious/inc/admin-screens/partials/xg-post-settings.php:5
- > 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 87% 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
These attributes need to be fixed:
- Tags: You are using too many tags: 15 tag instead of maximum 10
- Donate link: Invalid url: ""
wp-post-grid-slider-filter-by-xgenious/xg-posts.php 85% from 13 tests
This is the main PHP file of "Wp Post Grid / Slider / Filter" version 1.0.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please make the necessary changes and fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 151 characters long)
- Main file name: It is recommended to name the main PHP file as the plugin slug ("wp-post-grid-slider-filter-by-xgenious.php" instead of "xg-posts.php")
Code Analysis Passed 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
No dangerous file extensions were detected38,124 lines of code in 60 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 13 | 3,658 | 199 | 18,410 |
JavaScript | 10 | 98 | 90 | 9,995 |
PHP | 33 | 651 | 831 | 5,390 |
SVG | 4 | 0 | 3 | 4,329 |
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.23 |
Average class complexity | 15.39 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 107.00 |
Average method complexity | 3.76 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 98.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 28 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 28 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 146 | |
▷ Static methods | 30 | 20.55% |
▷ Public methods | 133 | 91.10% |
▷ Protected methods | 12 | 8.22% |
▷ Private methods | 1 | 0.68% |
Functions | 9 | |
▷ Named functions | 9 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 19 | |
▷ Global constants | 19 | 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
10 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
inc/admin-screens/assets/img/icon.png | 0.54KB | 0.35KB | ▼ 34.18% |
inc/admin-screens/assets/img/support.png | 3.99KB | 2.20KB | ▼ 44.96% |
assets/img/icon/header-slider.png | 1.31KB | 1.25KB | ▼ 4.61% |
inc/admin-screens/assets/img/preview.png | 1.56KB | 1.49KB | ▼ 4.45% |
assets/img/icon/thumbnail.png | 1.18KB | 0.95KB | ▼ 19.70% |