Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.02MB] [CPU: ▼6.49ms] Passed 4 tests
Analyzing server-side resources used by Post Grid Free
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 36.43 ▼3.80 |
Dashboard /wp-admin | 3.33 ▼0.01 | 46.16 ▼16.17 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 48.99 ▲3.80 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 94.43 ▼4.75 |
Media Library /wp-admin/upload.php | 3.25 ▲0.03 | 35.97 ▼1.22 |
Add New Grid /wp-admin/post-new.php?post_type=picgridfree | 3.29 | 51.22 |
All Grid /wp-admin/edit.php?post_type=picgridfree | 3.26 | 34.73 |
Server storage [IO: ▲0.79MB] [DB: ▲0.07MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 27 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
category_children |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Post Grid Free
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,922 ▲160 | 13.47 ▼0.89 | 8.13 ▲6.40 | 47.09 ▲1.96 |
Dashboard /wp-admin | 2,239 ▲62 | 5.78 ▲0.20 | 93.43 ▲1.06 | 40.33 ▼4.81 |
Posts /wp-admin/edit.php | 2,149 ▲52 | 2.25 ▲0.24 | 40.67 ▲3.30 | 35.82 ▼1.20 |
Add New Post /wp-admin/post-new.php | 1,566 ▲36 | 23.56 ▲0.48 | 635.69 ▼55.05 | 32.46 ▼21.63 |
Media Library /wp-admin/upload.php | 1,447 ▲47 | 4.44 ▲0.23 | 100.11 ▲1.87 | 43.44 ▲0.70 |
Add New Grid /wp-admin/post-new.php?post_type=picgridfree | 3,281 | 4.26 | 113.05 | 43.44 |
All Grid /wp-admin/edit.php?post_type=picgridfree | 1,121 | 2.19 | 50.60 | 29.89 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 7 options in the database
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- category_children
- widget_recent-posts
- db_upgraded
- widget_recent-comments
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
Smoke test failed, please fix the following
- > GET request to /wp-admin/edit.php?post_type=picgridfree
- > Notice in wp-content/plugins/post-grid-free/includes/post-types/post-grid-free-post-type.php+58
Undefined index: order
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 take a closer look at the following
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/post-grid-free/post-grid-free.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Please fix the following attributes:
- Screenshots: Screenshot #4 (screenshot-4) image not found
post-grid-free/post-grid-free.php Passed 13 tests
This is the main PHP file of "Post Grid Free" version 1.0.3, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
107 characters long description:
Post Grid Free is a fully Responsive WordPress Plugin to display your WordPress post with different styles.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected1,972 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 116 | 59 | 1,080 |
SVG | 2 | 1 | 0 | 578 |
CSS | 3 | 8 | 11 | 293 |
JavaScript | 2 | 5 | 54 | 21 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 12 | |
▷ Named functions | 12 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 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
There were not PNG files found in your plugin