Benchmarks
Plugin footprint 83% 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.06MB] [CPU: ▼4.56ms] Passed 4 tests
This is a short check of server-side resources used by OxyGridLayout by OxyNinja
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 34.30 ▼5.38 |
Dashboard /wp-admin | 3.37 ▲0.07 | 43.61 ▼3.73 |
Posts /wp-admin/edit.php | 3.48 ▲0.13 | 46.67 ▼2.26 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 83.50 ▼6.85 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 33.80 ▼1.00 |
OxyGridLayout /wp-admin/admin.php?page=oxy-grid-layout | 3.26 | 32.56 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 22 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
oxy_grid_layout |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by OxyGridLayout by OxyNinja
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.34 ▲1.19 | 1.64 ▼2.44 | 38.96 ▼4.73 |
Dashboard /wp-admin | 2,192 ▲17 | 5.54 ▼0.14 | 81.30 ▼17.84 | 37.52 ▼4.49 |
Posts /wp-admin/edit.php | 2,103 ▲6 | 1.99 ▲0.00 | 39.91 ▲4.70 | 34.64 ▲0.17 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.55 ▲0.81 | 677.31 ▼11.61 | 64.22 ▲8.44 |
Media Library /wp-admin/upload.php | 1,400 ▲6 | 4.16 ▼0.09 | 102.70 ▲5.86 | 48.71 ▲4.21 |
OxyGridLayout /wp-admin/admin.php?page=oxy-grid-layout | 959 | 1.89 | 33.43 | 30.59 |
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 did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- 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)
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
4 plugin tags: design, grid layout, oxygen builder, oxyninja
oxygridlayout-by-oxyninja/oxy-grid-layout.php 85% from 13 tests
The entry point to "OxyGridLayout by OxyNinja" version 1.0.2 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("oxygridlayout-by-oxyninja.php" instead of "oxy-grid-layout.php")
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected532 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 91 | 380 | 273 |
JavaScript | 2 | 10 | 11 | 168 |
CSS | 2 | 15 | 2 | 89 |
Markdown | 1 | 0 | 0 | 2 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 6.50 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 18.00 |
Average method complexity | 1.85 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 1 | 25.00% |
Methods | 26 | |
▷ Static methods | 2 | 7.69% |
▷ Public methods | 23 | 88.46% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 11.54% |
Functions | 1 | |
▷ Named functions | 1 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin