Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.47MB] [CPU: ▼0.41ms] Passed 4 tests
This is a short check of server-side resources used by RAYS Grid
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.90 ▲0.44 | 44.51 ▼1.76 |
Dashboard /wp-admin | 3.76 ▲0.46 | 46.29 ▼3.61 |
Posts /wp-admin/edit.php | 3.86 ▲0.50 | 60.73 ▲16.13 |
Add New Post /wp-admin/post-new.php | 6.55 ▲0.67 | 87.44 ▲1.27 |
Media Library /wp-admin/upload.php | 3.72 ▲0.49 | 38.04 ▲2.45 |
Add New /wp-admin/admin.php?page=raysgrid&do=create | 3.84 | 42.99 |
Categories /wp-admin/edit-tags.php?taxonomy=raysgrid_categories&post_type=raysgridpost | 3.66 | 36.92 |
Tags /wp-admin/edit-tags.php?taxonomy=raysgrid_tags&post_type=raysgridpost | 3.66 | 36.18 |
Portfolio Posts /wp-admin/edit.php?post_type=raysgridpost | 3.70 | 37.89 |
Import/Export /wp-admin/admin.php?page=raysgrid-exp | 3.60 | 32.17 |
Add New /wp-admin/post-new.php?post_type=raysgridpost | 6.55 | 80.23 |
RAYS Grid /wp-admin/admin.php?page=raysgrid | 3.67 | 36.15 |
Server storage [IO: ▲3.19MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 67 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_raysgrid_setting |
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by RAYS Grid
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,166 ▲431 | 14.60 ▲0.38 | 17.62 ▲15.74 | 44.96 ▼1.51 |
Dashboard /wp-admin | 2,322 ▲131 | 5.48 ▼0.55 | 108.47 ▼10.94 | 104.63 ▲58.81 |
Posts /wp-admin/edit.php | 2,213 ▲124 | 2.43 ▲0.39 | 45.37 ▲9.62 | 52.77 ▲17.55 |
Add New Post /wp-admin/post-new.php | 1,600 ▲71 | 23.56 ▲0.34 | 715.84 ▲26.25 | 42.25 ▼5.45 |
Media Library /wp-admin/upload.php | 1,489 ▲101 | 4.76 ▲0.60 | 104.30 ▲3.22 | 103.16 ▲58.99 |
Add New /wp-admin/admin.php?page=raysgrid&do=create | 3,001 | 3.66 | 88.82 | 85.71 |
Categories /wp-admin/edit-tags.php?taxonomy=raysgrid_categories&post_type=raysgridpost | 1,383 | 2.41 | 37.09 | 52.32 |
Tags /wp-admin/edit-tags.php?taxonomy=raysgrid_tags&post_type=raysgridpost | 1,358 | 2.41 | 33.23 | 47.67 |
Portfolio Posts /wp-admin/edit.php?post_type=raysgridpost | 1,183 | 2.35 | 38.36 | 67.05 |
Import/Export /wp-admin/admin.php?page=raysgrid-exp | 986 | 2.30 | 33.95 | 57.15 |
Add New /wp-admin/post-new.php?post_type=raysgridpost | 6,525 | 26.98 | 898.51 | 36.61 |
RAYS Grid /wp-admin/admin.php?page=raysgrid | 946 | 2.28 | 33.67 | 82.33 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- This plugin cannot be uninstalled
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method raysgrid_Base::rsgd_uninstall() should not be called statically
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
Smoke tests 75% 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/admin.php?page=raysgrid-exp
- > Notice in wp-content/plugins/rays-grid/includes/class-db.php+280
Undefined index: rsgd_nonce_fields
- > GET request to /wp-admin/admin.php?page=raysgrid-exp
- > Notice in wp-content/plugins/rays-grid/includes/class-db.php+296
Undefined index: importfile
- > GET request to /wp-admin/admin.php?page=raysgrid-exp
- > Notice in wp-content/plugins/rays-grid/includes/class-db.php+296
Trying to access array offset on value of type null
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
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
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
No plugin tags provided
rays-grid/rays-grid.php Passed 13 tests
The principal PHP file in "RAYS Grid" v. 1.3.1 is loaded by WordPress automatically on each request
54 characters long description:
WordPress Plugin for showing Grids with Custom Styles.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin12,001 lines of code in 40 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 8 | 79 | 70 | 4,828 |
SVG | 3 | 0 | 0 | 3,898 |
PHP | 17 | 376 | 41 | 2,010 |
JavaScript | 12 | 362 | 126 | 1,265 |
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.35 |
Average class complexity | 18.57 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 46.00 |
Average method complexity | 3.98 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 28.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 | 42 | |
▷ Static methods | 4 | 9.52% |
▷ Public methods | 42 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 9 | |
▷ Named functions | 9 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.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
7 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/public/css/images/overlay.png | 0.11KB | 0.15KB | 0.00% |
assets/public/css/images/loading_background.png | 0.13KB | 0.15KB | 0.00% |
assets/admin/images/logo.png | 5.71KB | 2.73KB | ▼ 52.20% |
assets/admin/images/ico.png | 1.44KB | 0.79KB | ▼ 45.24% |
assets/admin/images/short-logo.png | 3.21KB | 1.73KB | ▼ 46.07% |