Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.12MB] [CPU: ▼136.72ms] Passed 4 tests
This is a short check of server-side resources used by Gridable - The Missing Grid Content Editor
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.95 ▲0.23 | 34.10 ▲12.35 |
Dashboard /wp-admin | 3.16 ▲0.11 | 49.29 ▲5.98 |
Posts /wp-admin/edit.php | 3.27 ▲0.16 | 48.82 ▲3.72 |
Add New Post /wp-admin/post-new.php | 5.53 ▲0.09 | 93.11 ▼549.94 |
Media Library /wp-admin/upload.php | 3.10 ▲0.10 | 32.01 ▼6.62 |
Server storage [IO: ▲0.21MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 32 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
This is an overview of browser requirements for Gridable - The Missing Grid Content Editor
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,843 ▲248 | 16.37 ▲0.43 | 16.97 ▲9.13 | 43.90 ▼3.11 |
Dashboard /wp-admin | 2,998 ▲67 | 5.97 ▼0.06 | 164.86 ▲20.57 | 107.90 ▼2.19 |
Posts /wp-admin/edit.php | 2,770 ▲31 | 2.70 ▲0.01 | 70.61 ▲9.12 | 97.61 ▲16.36 |
Add New Post /wp-admin/post-new.php | 1,524 ▲24 | 18.84 ▲0.15 | 359.78 ▲7.30 | 108.22 ▼1.19 |
Media Library /wp-admin/upload.php | 1,838 ▲28 | 5.02 ▲0.01 | 153.32 ▲8.46 | 125.66 ▲8.72 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The plugin uninstalled successfully, without leaving any zombie files or tables
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
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
Please fix the following
- 3× 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/gridable/admin/addons/attributes.php:52
- > PHP Fatal error
Uncaught Error: Call to undefined function do_action() in wp-content/plugins/gridable/public/partials/col.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function do_action() in wp-content/plugins/gridable/public/partials/row.php:19
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: No descriptions were found for these screenshots #1, #2, #3, #4 in gridable/assets to your readme.txt
gridable/gridable.php Passed 13 tests
The main PHP script in "Gridable - The Missing Grid Content Editor" version 1.2.9 is automatically included on every request by WordPress
78 characters long description:
A simple and intuitive tool for organizing your content into columns and rows.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin2,096 lines of code in 25 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 5 | 278 | 322 | 870 |
CSS | 5 | 125 | 37 | 730 |
PHP | 13 | 186 | 594 | 457 |
SVG | 2 | 0 | 1 | 39 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 6.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 17.00 |
Average method complexity | 2.03 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 34 | |
▷ Static methods | 2 | 5.88% |
▷ Public methods | 28 | 82.35% |
▷ Protected methods | 4 | 11.76% |
▷ Private methods | 2 | 5.88% |
Functions | 4 | |
▷ Named functions | 4 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/icons/icon.png | 1.53KB | 0.44KB | ▼ 70.91% |