Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼12.14ms] Passed 4 tests
Analyzing server-side resources used by Tiny Grid
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 39.65 ▼2.60 |
Dashboard /wp-admin | 3.32 ▼0.03 | 48.23 ▼19.10 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 52.05 ▲4.75 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 95.99 ▼31.59 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 39.17 ▲5.89 |
Tiny Grid /wp-admin/options-general.php?page=tiny-grid | 3.21 | 34.10 |
Server storage [IO: ▲0.23MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Tiny Grid
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲60 | 13.23 ▼1.52 | 1.74 ▼0.10 | 42.34 ▼1.38 |
Dashboard /wp-admin | 2,212 ▲24 | 5.86 ▲0.98 | 107.03 ▼13.25 | 41.52 ▼3.39 |
Posts /wp-admin/edit.php | 2,095 ▲3 | 2.01 ▼0.03 | 39.54 ▲3.02 | 34.62 ▼4.17 |
Add New Post /wp-admin/post-new.php | 1,538 ▲19 | 23.27 ▼0.07 | 670.69 ▲18.30 | 48.84 ▼14.42 |
Media Library /wp-admin/upload.php | 1,394 ▲6 | 4.13 ▼0.10 | 104.83 ▼1.94 | 44.15 ▲3.40 |
Tiny Grid /wp-admin/options-general.php?page=tiny-grid | 831 | 2.03 | 29.23 | 28.31 |
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
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% 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: Add an image for screenshot #1 (Here you can see the new tinymce buttons)
- Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line (
=== tiny-grid ===
)
tiny-grid/tiny-grid.php Passed 13 tests
This is the main PHP file of "Tiny Grid" version 0.4, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
67 characters long description:
Adds buttons to the TinyMCE Editor to use the bootstrap grid system
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected421 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 1 | 0 | 0 | 158 |
JavaScript | 2 | 29 | 0 | 121 |
PHP | 1 | 33 | 10 | 109 |
Markdown | 1 | 12 | 0 | 24 |
CSS | 4 | 0 | 0 | 9 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
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
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin