Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▼0.65MB] [CPU: ▼18.39ms] Passed 4 tests
A check of server-side resources used by Gridster Custom
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 45.05 ▲5.59 |
Dashboard /wp-admin | 3.35 ▲0.05 | 47.32 ▲0.77 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 47.33 ▼2.97 |
Add New Post /wp-admin/post-new.php | 3.13 ▼2.75 | 37.62 ▼72.89 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 33.92 ▲1.54 |
Add new portfolio /wp-admin/post-new.php?post_type=gridster-portfolio | 3.13 | 32.12 |
portfolio items /wp-admin/edit.php?post_type=gridster-portfolio | 3.32 | 35.01 |
Server storage [IO: ▲0.16MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Gridster Custom
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,955 ▲220 | 13.61 ▼1.02 | 9.69 ▲8.10 | 40.62 ▼0.50 |
Dashboard /wp-admin | 2,230 ▲42 | 5.85 ▲0.97 | 94.93 ▼12.75 | 38.03 ▼6.44 |
Posts /wp-admin/edit.php | 2,119 ▲30 | 2.06 ▲0.05 | 40.27 ▼0.18 | 36.24 ▲1.38 |
Add New Post /wp-admin/post-new.php | 1,556 ▲36 | 23.37 ▲0.50 | 590.82 ▼98.87 | 54.48 ▼0.84 |
Media Library /wp-admin/upload.php | 1,409 ▲18 | 4.21 ▲0.02 | 95.61 ▼6.77 | 42.30 ▼1.25 |
Add new portfolio /wp-admin/post-new.php?post_type=gridster-portfolio | 2,266 | 7.66 | 172.91 | 62.20 |
portfolio items /wp-admin/edit.php?post_type=gridster-portfolio | 1,083 | 1.94 | 32.68 | 39.96 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These errors were triggered by the plugin
- > GET request to /wp-admin/post-new.php?post_type=gridster-portfolio
- > Notice in wp-content/plugins/gridster-portfolio/init.php+37
Undefined index: gridster-row
- > GET request to /wp-admin/post-new.php?post_type=gridster-portfolio
- > Notice in wp-content/plugins/gridster-portfolio/init.php+40
Undefined index: gridster-column
- > GET request to /wp-admin/post-new.php?post_type=gridster-portfolio
- > Notice in wp-content/plugins/gridster-portfolio/init.php+43
Undefined index: gridster-x
- > GET request to /wp-admin/post-new.php?post_type=gridster-portfolio
- > Notice in wp-content/plugins/gridster-portfolio/init.php+46
Undefined index: gridster-y
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 fix the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/gridster-portfolio/init.php:13
- > PHP Fatal error
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 81% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that require attention:
- Screenshots: Screenshot #1 (This screen shot description corresponds to screenshot-1.(png|jpg|jpeg|gif). Note that the screenshot is taken from) image missing
- Contributors: The plugin contributors field is missing
- Plugin Name: Please specify the plugin name on the first line (
=== gridster-portfolio ===
)
gridster-portfolio/init.php 92% from 13 tests
The principal PHP file in "Gridster Custom" v. 1.0 is loaded by WordPress automatically on each request
It is important to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("gridster-portfolio.php" instead of "init.php")
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 detected3,131 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 7 | 916 | 1,094 | 3,033 |
PHP | 1 | 37 | 9 | 91 |
CSS | 2 | 0 | 1 | 7 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.02 |
Average class complexity | 2.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 2.00 |
Average method complexity | 1.14 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 7 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 7 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin