Benchmarks
Plugin footprint Passed 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.15MB] [CPU: ▼336.63ms] Passed 4 tests
A check of server-side resources used by Hello Saban
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.80 ▲0.08 | 26.05 ▲6.25 |
Dashboard /wp-admin | 2.98 ▼0.07 | 27.59 ▼9.03 |
Posts /wp-admin/edit.php | 3.03 ▼0.07 | 31.22 ▼8.00 |
Add New Post /wp-admin/post-new.php | 4.99 ▼0.44 | 80.35 ▼1,326.92 |
Media Library /wp-admin/upload.php | 2.98 ▼0.01 | 29.60 ▼2.58 |
Server storage [IO: ▲0.45MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 7 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for Hello Saban
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,864 ▲349 | 15.73 ▲1.98 | 8.27 ▲0.77 | 51.20 ▼0.64 |
Dashboard /wp-admin | 2,953 ▲87 | 6.44 ▲0.56 | 143.06 ▲5.61 | 114.37 ▲5.02 |
Posts /wp-admin/edit.php | 2,718 ▲12 | 2.95 ▲0.26 | 71.93 ▲8.23 | 84.88 ▼8.82 |
Add New Post /wp-admin/post-new.php | 2,068 ▲215 | 16.42 ▼2.50 | 389.96 ▲29.55 | 118.37 ▲16.13 |
Media Library /wp-admin/upload.php | 1,792 ▲17 | 5.31 ▲0.32 | 152.01 ▼2.88 | 113.36 ▲3.50 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Uninstall script ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 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
Please take a closer look at the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/hello-saban/hello-saban.php:84
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
No tags were detected
hello-saban/hello-saban.php Passed 13 tests
The main PHP file in "Hello Saban" ver. 0.1 adds more information about the plugin and also serves as the entry point for this plugin
114 characters long description:
This is not just a plugin, it symbolizes the hope and enthusiasm of an entire generation of Alabama football fans.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin141 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 40 | 27 | 128 |
JavaScript | 2 | 0 | 9 | 11 |
SVG | 1 | 0 | 0 | 2 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.09 |
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 | 7 | |
▷ Named functions | 7 | 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 1 test
Image compression Passed 1 test
Using a strong compression for your PNG files is a great way to speed-up your plugin
There are no PNG files in this plugin