Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼146.07ms] Passed 4 tests
This is a short check of server-side resources used by WP Post Grid
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.85 ▲0.01 | 50.40 ▲8.22 |
Dashboard /wp-admin | 3.07 ▲0.01 | 51.70 ▲0.22 |
Posts /wp-admin/edit.php | 3.12 ▲0.01 | 49.36 ▼4.04 |
Add New Post /wp-admin/post-new.php | 5.42 ▼0.01 | 100.17 ▼580.38 |
Media Library /wp-admin/upload.php | 3.01 ▲0.01 | 38.24 ▼0.08 |
Server storage [IO: ▲0.15MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 24 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
This is an overview of browser requirements for WP Post Grid
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,730 ▲158 | 16.02 ▲0.11 | 10.27 ▼1.23 | 53.63 ▼1.91 |
Dashboard /wp-admin | 2,982 ▲48 | 5.97 ▲0.05 | 148.91 ▼23.28 | 121.49 ▼6.43 |
Posts /wp-admin/edit.php | 2,754 ▲15 | 2.72 ▲0.00 | 74.65 ▼0.69 | 101.09 ▲1.67 |
Add New Post /wp-admin/post-new.php | 1,693 ▲10 | 18.80 ▲0.38 | 403.73 ▼23.08 | 121.84 ▲7.04 |
Media Library /wp-admin/upload.php | 1,822 ▲15 | 5.01 ▼0.02 | 166.99 ▲8.89 | 136.20 ▲2.31 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Uninstall script ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function untrailingslashit() in wp-content/plugins/wp-post-grid/wp-post-grid.php:14
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Please fix the following attributes:
- Tags: Please reduce the number of tags, currently 17 tag instead of maximum 10
wp-post-grid/wp-post-grid.php Passed 13 tests
"WP Post Grid" version 1.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
98 characters long description:
Using this free portfolio plugin you can showcase your work in a jquery filtered portfolio system.
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
Success! There were no dangerous files found in this plugin819 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 23 | 19 | 453 |
CSS | 3 | 10 | 16 | 352 |
JavaScript | 2 | 0 | 0 | 14 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
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 | 8 | |
▷ Named functions | 8 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 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
16 PNG files occupy 0.07MB with 0.03MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/grid3-preview.png | 6.81KB | 2.60KB | ▼ 61.86% |
images/grid1.png | 0.25KB | 0.18KB | ▼ 28.08% |
images/grid8.png | 0.16KB | 0.08KB | ▼ 46.91% |
images/grid2.png | 0.17KB | 0.10KB | ▼ 42.13% |
images/grid2-preview.png | 6.90KB | 2.96KB | ▼ 57.19% |