Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.12MB] [CPU: ▼3.89ms] Passed 4 tests
A check of server-side resources used by WPF-jqGrid
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.13 | 40.74 ▲4.97 |
Dashboard /wp-admin | 3.43 ▲0.12 | 47.41 ▼4.11 |
Posts /wp-admin/edit.php | 3.54 ▲0.19 | 48.20 ▲2.98 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.12 | 97.80 ▼6.49 |
Media Library /wp-admin/upload.php | 3.35 ▲0.12 | 33.99 ▼7.94 |
WPF-jqGrid /wp-admin/options-general.php?page=wpf-jqgrid | 3.32 | 36.97 |
Server storage [IO: ▲1.58MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 86 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for WPF-jqGrid
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,920 ▲185 | 14.41 ▲0.16 | 8.04 ▲6.15 | 45.63 ▲1.35 |
Dashboard /wp-admin | 2,210 ▲22 | 5.91 ▲0.04 | 114.68 ▲1.84 | 44.96 ▼13.19 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 2.13 ▲0.08 | 40.70 ▲1.72 | 37.45 ▼4.12 |
Add New Post /wp-admin/post-new.php | 1,537 ▲4 | 20.98 ▼2.42 | 732.19 ▲18.87 | 64.70 ▲1.95 |
Media Library /wp-admin/upload.php | 1,389 ▼2 | 4.21 ▲0.08 | 108.57 ▼0.53 | 46.36 ▼3.81 |
WPF-jqGrid /wp-admin/options-general.php?page=wpf-jqgrid | 962 | 2.02 | 24.87 | 30.29 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
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 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need to be fixed:
- Screenshots: Add images for these screenshots: #1 (Setup 'WPF-jqGrid'), #2 (Sample of 'WPF-jqGrid' front page, see live at WPF-jqGrid developer's site), #3 (Edit popup window, see live at WPF-jqGrid developer's site)
wp-fjqgrid/index.php 85% from 13 tests
The main PHP file in "WPF-jqGrid" ver. 0.20 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
- Main file name: Name the main plugin file the same as the plugin slug ("wp-fjqgrid.php" instead of "index.php")
- Description: Keep the plugin description shorter than 140 characters (currently 149 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected22,494 lines of code in 61 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 47 | 398 | 9,230 | 21,263 |
PHP | 6 | 128 | 255 | 1,053 |
PO File | 3 | 34 | 41 | 136 |
SQL | 1 | 10 | 18 | 23 |
XML | 1 | 0 | 0 | 13 |
CSS | 3 | 2 | 15 | 6 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 25.67 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 56.00 |
Average method complexity | 4.22 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 46 | |
▷ Static methods | 3 | 6.52% |
▷ Public methods | 34 | 73.91% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 12 | 26.09% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 11 | |
▷ Global constants | 11 | 100.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
16 compressed PNG files occupy 0.06MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
themes/sunny/images/ui-icons_3d3d3d_256x240.png | 6.79KB | 4.20KB | ▼ 38.05% |
themes/sunny/images/ui-icons_ffe180_256x240.png | 4.49KB | 4.20KB | ▼ 6.46% |
themes/sunny/images/ui-icons_bd7b00_256x240.png | 4.49KB | 4.20KB | ▼ 6.46% |
themes/sunny/images/ui-icons_fadc7a_256x240.png | 4.49KB | 4.20KB | ▼ 6.46% |
themes/sunny/images/ui-icons_d19405_256x240.png | 4.49KB | 4.20KB | ▼ 6.46% |