Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▼3.80ms] Passed 4 tests
Analyzing server-side resources used by Netroics Blog Posts Grid
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.09 | 38.92 ▼3.22 |
Dashboard /wp-admin | 3.39 ▲0.09 | 48.75 ▼1.82 |
Posts /wp-admin/edit.php | 3.44 ▲0.09 | 50.41 ▼0.29 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.11 | 86.74 ▼9.88 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 36.29 ▲0.58 |
Categories /wp-admin/edit-tags.php?taxonomy=category&post_type=netroicstp | 3.31 | 40.25 |
All Items /wp-admin/edit.php?post_type=netroicstp | 3.37 | 38.69 |
Settings Netroics /wp-admin/edit.php?post_type=netroicstp&page=netroics-settings-pages | 3.29 | 35.78 |
Add New /wp-admin/post-new.php?post_type=netroicstp | 3.45 | 57.03 |
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=netroicstp | 3.31 | 43.44 |
Server storage [IO: ▲1.35MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 20 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
category_children |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Netroics Blog Posts Grid
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,872 ▲126 | 13.41 ▼0.89 | 1.53 ▼0.25 | 53.38 ▲10.24 |
Dashboard /wp-admin | 2,268 ▲80 | 5.15 ▲0.11 | 101.75 ▼0.05 | 39.26 ▲1.19 |
Posts /wp-admin/edit.php | 2,156 ▲67 | 2.32 ▲0.26 | 37.28 ▲0.15 | 31.18 ▼5.06 |
Add New Post /wp-admin/post-new.php | 1,567 ▲53 | 23.41 ▲5.86 | 624.38 ▼15.32 | 34.69 ▼20.80 |
Media Library /wp-admin/upload.php | 1,447 ▲62 | 4.40 ▲0.18 | 98.37 ▼5.14 | 43.03 ▼2.20 |
Categories /wp-admin/edit-tags.php?taxonomy=category&post_type=netroicstp | 1,513 | 2.06 | 43.86 | 33.58 |
All Items /wp-admin/edit.php?post_type=netroicstp | 1,172 | 2.24 | 39.62 | 30.88 |
Settings Netroics /wp-admin/edit.php?post_type=netroicstp&page=netroics-settings-pages | 1,493 | 2.81 | 69.13 | 49.74 |
Add New /wp-admin/post-new.php?post_type=netroicstp | 2,407 | 7.96 | 176.23 | 66.78 |
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=netroicstp | 1,377 | 2.07 | 32.93 | 28.33 |
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
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 7 options
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- category_children
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
- 3× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/netroics-blog-posts-grid/inc/functions.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/netroics-blog-posts-grid/inc/functions.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/netroics-blog-posts-grid/inc/netroics-dynamic-style.php:96
- > PHP Fatal error
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 79% from 29 tests
readme.txt 88% 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
Attributes that require attention:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Posts Settings), #2 (Back End), #3 (Front End)
- Donate link: Please fix this invalid url: ""
netroics-blog-posts-grid/netroics-test-plugin.php 69% from 13 tests
"Netroics Blog Posts Grid" version 1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please make the necessary changes and fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("netroics-blog-posts-grid.php" instead of "netroics-test-plugin.php")
- Requires at least: Required version does not match the one declared in readme.txt ("5.0" instead of "5.2")
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Description: Keep the plugin description shorter than 140 characters (currently 150 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin3,185 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 1 | 0 | 0 | 2,671 |
PHP | 3 | 80 | 35 | 286 |
CSS | 3 | 51 | 10 | 218 |
JavaScript | 2 | 0 | 5 | 10 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
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 | 11 | |
▷ Named functions | 11 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
3 PNG files occupy 0.24MB with 0.14MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-3.png | 69.22KB | 31.77KB | ▼ 54.11% |
screenshot-2.png | 43.84KB | 21.42KB | ▼ 51.15% |
screenshot-1.png | 137.13KB | 42.05KB | ▼ 69.34% |