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.02MB] [CPU: ▼7.60ms] Passed 4 tests
This is a short check of server-side resources used by Hexa Team Responsive Grid Free
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 40.31 ▼1.03 |
Dashboard /wp-admin | 3.33 ▼0.01 | 54.29 ▼11.85 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 47.94 ▲1.75 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 87.71 ▼17.83 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 35.89 ▲0.33 |
Team /wp-admin/edit.php?post_type=wct_team | 3.30 | 37.92 |
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=wct_team | 3.25 | 36.45 |
Add New /wp-admin/post-new.php?post_type=wct_team | 3.35 | 44.03 |
Server storage [IO: ▲1.17MB] [DB: ▲0.07MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Hexa Team Responsive Grid Free
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,867 ▲81 | 14.24 ▼0.13 | 2.18 ▲0.22 | 43.47 ▲0.25 |
Dashboard /wp-admin | 2,230 ▲53 | 5.52 ▼0.11 | 99.50 ▲7.99 | 81.42 ▲38.68 |
Posts /wp-admin/edit.php | 2,156 ▲56 | 1.97 ▲0.03 | 38.26 ▲0.30 | 35.99 ▲2.35 |
Add New Post /wp-admin/post-new.php | 1,571 ▲39 | 22.97 ▲0.00 | 626.03 ▼13.62 | 172.09 ▲120.82 |
Media Library /wp-admin/upload.php | 1,450 ▲50 | 4.14 ▼0.07 | 113.08 ▲15.72 | 72.32 ▲30.96 |
Team /wp-admin/edit.php?post_type=wct_team | 1,125 | 1.90 | 31.83 | 29.19 |
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=wct_team | 1,372 | 2.12 | 27.23 | 33.50 |
Add New /wp-admin/post-new.php?post_type=wct_team | 2,370 | 7.61 | 175.42 | 137.53 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These errors were triggered by the plugin
- > GET request to /wp-admin/post-new.php?post_type=wct_team
- > Notice in wp-content/plugins/hexa-team-responsive-grid-free/index.php+54
Undefined index: wct_position
- 5 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=wct_team
- > Notice in wp-content/plugins/hexa-team-responsive-grid-free/index.php+58
Trying to access array offset on value of type null
- > GET request to /wp-admin/post-new.php?post_type=wct_team
- > Notice in wp-content/plugins/hexa-team-responsive-grid-free/index.php+55
Undefined index: wct_facebook
- > GET request to /wp-admin/post-new.php?post_type=wct_team
- > Notice in wp-content/plugins/hexa-team-responsive-grid-free/index.php+56
Undefined index: wct_twitter
- > GET request to /wp-admin/post-new.php?post_type=wct_team
- > Notice in wp-content/plugins/hexa-team-responsive-grid-free/index.php+57
Undefined index: wct_linkedin
- > GET request to /wp-admin/post-new.php?post_type=wct_team
- > Notice in wp-content/plugins/hexa-team-responsive-grid-free/index.php+58
Undefined index: wct_instagram
SRP 50% from 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 following issues need your attention
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/hexa-team-responsive-grid-free/index.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== hexa-team-responsive-grid-free ===
) - Screenshots: Screenshot #1 (screenshot-1.png) image not found
hexa-team-responsive-grid-free/index.php 85% from 13 tests
The main file in "Hexa Team Responsive Grid Free" v. 2.3 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Main file name: The principal plugin file should be the same as the plugin slug ("hexa-team-responsive-grid-free.php" instead of "index.php")
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
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
Good job! No executable or dangerous file extensions detected1,729 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 327 | 170 | 1,357 |
PHP | 1 | 57 | 15 | 182 |
CSS | 1 | 12 | 9 | 168 |
HTML | 1 | 18 | 0 | 22 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
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 | 10 | |
▷ Named functions | 10 | 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 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
4 PNG files occupy 1.08MB with 0.83MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/icon-128x128.png | 24.24KB | 7.33KB | ▼ 69.73% |
assets/banner-772x250.png | 275.99KB | 73.12KB | ▼ 73.51% |
screenshot-1.png | 799.22KB | 179.61KB | ▼ 77.53% |
images/hexa-icon.png | 3.12KB | 0.41KB | ▼ 86.90% |