Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.18MB] [CPU: ▼3.15ms] Passed 4 tests
Server-side resources used by Post Category Image With Grid and Slider
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.63 ▲0.17 | 45.46 ▼2.73 |
Dashboard /wp-admin | 3.48 ▲0.17 | 50.70 ▼4.44 |
Posts /wp-admin/edit.php | 3.59 ▲0.23 | 53.35 ▲2.45 |
Add New Post /wp-admin/post-new.php | 6.09 ▲0.20 | 91.86 ▼7.86 |
Media Library /wp-admin/upload.php | 3.40 ▲0.17 | 45.70 ▲7.79 |
Solutions & Features /wp-admin/admin.php?page=pciwgas-solutions-features | 3.42 | 41.92 |
Category Image /wp-admin/admin.php?page=pciwgas-settings | 3.40 | 42.62 |
Upgrade To Premium /wp-admin/admin.php?page=pciwgas-premium | 3.40 | 39.32 |
Server storage [IO: ▲0.52MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 32 new files
Database: no new tables, 8 new options
New WordPress options |
---|
pciwgas_options |
pciwgas_plugin_version |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Post Category Image With Grid and Slider
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,831 ▲45 | 14.35 ▲0.10 | 1.66 ▼0.84 | 41.98 ▼4.79 |
Dashboard /wp-admin | 2,233 ▲56 | 5.55 ▼0.10 | 92.00 ▲0.37 | 40.65 ▼3.16 |
Posts /wp-admin/edit.php | 2,141 ▲41 | 2.04 ▲0.06 | 41.01 ▲3.80 | 36.23 ▲0.22 |
Add New Post /wp-admin/post-new.php | 6,230 ▲4,704 | 19.59 ▼3.74 | 944.08 ▲296.14 | 53.43 ▼1.83 |
Media Library /wp-admin/upload.php | 1,435 ▲35 | 4.33 ▲0.13 | 100.47 ▲0.46 | 42.86 ▼2.99 |
Solutions & Features /wp-admin/admin.php?page=pciwgas-solutions-features | 1,491 | 3.02 | 39.18 | 85.90 |
Category Image /wp-admin/admin.php?page=pciwgas-settings | 1,139 | 3.12 | 38.30 | 27.01 |
Upgrade To Premium /wp-admin/admin.php?page=pciwgas-premium | 1,263 | 2.98 | 40.11 | 82.03 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- This plugin does not fully uninstall, leaving 8 options in the database
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- pciwgas_plugin_version
- widget_recent-comments
- can_compress_scripts
- pciwgas_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Tags: Please reduce the number of tags, currently 11 tag instead of maximum 10
post-category-image-with-grid-and-slider/post-category-image-with-grid-and-slider.php 77% from 13 tests
This is the main PHP file of "Post Category Image With Grid and Slider" version 1.4.8, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
The following require your attention:
- Description: Please don't use more than 140 characters for the plugin description (currently 175 characters long)
- Domain Path: Please prefix the domain path with a forward slash character ("/languages")
- Domain Path: You should use only dashes and lowercase characters for the domain path ("languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin1,671 lines of code in 22 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 248 | 370 | 1,232 |
JavaScript | 5 | 98 | 68 | 320 |
CSS | 4 | 11 | 12 | 118 |
JSON | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.50 |
Average class complexity | 16.00 |
▷ Minimum class complexity | 10.00 |
▷ Maximum class complexity | 22.00 |
Average method complexity | 2.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 18 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 18 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 21 | |
▷ Named functions | 21 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 11 | |
▷ Global constants | 11 | 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
7 PNG files occupy 0.34MB with 0.17MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/popup-icon/popup-design.png | 7.53KB | 4.51KB | ▼ 40.14% |
assets/images/image-upgrade.png | 295.08KB | 114.20KB | ▼ 61.30% |
assets/images/popup-icon/14-days-money-back-guarantee.png | 30.03KB | 8.44KB | ▼ 71.91% |
assets/images/popup-icon/post-grid.png | 4.67KB | 2.53KB | ▼ 45.73% |
assets/images/rating.png | 0.85KB | 0.55KB | ▼ 34.41% |