Benchmarks
Plugin footprint Passed 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.02MB] [CPU: ▼274.04ms] Passed 4 tests
Server-side resources used by WOW Entrance Effects (WEE!)
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.86 ▲0.14 | 34.74 ▲11.85 |
Dashboard /wp-admin | 3.08 ▲0.03 | 41.47 ▼2.58 |
Posts /wp-admin/edit.php | 3.13 ▲0.03 | 37.38 ▼7.29 |
Add New Post /wp-admin/post-new.php | 5.45 ▲0.02 | 94.08 ▼1,078.88 |
Media Library /wp-admin/upload.php | 3.03 ▲0.02 | 33.62 ▼7.40 |
WEE! Generator /wp-admin/options-general.php?page=wee-generate | 3.00 | 27.68 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 6 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for WOW Entrance Effects (WEE!)
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,690 ▲108 | 16.28 ▲0.39 | 12.72 ▲3.69 | 53.31 ▲6.15 |
Dashboard /wp-admin | 2,939 ▲83 | 6.17 ▲0.31 | 145.12 ▼12.78 | 108.71 ▲14.37 |
Posts /wp-admin/edit.php | 2,718 ▲12 | 2.70 ▲0.01 | 64.67 ▼4.14 | 85.16 ▼10.18 |
Add New Post /wp-admin/post-new.php | 1,879 ▲315 | 15.90 ▼0.90 | 388.85 ▲32.21 | 108.65 ▲2.87 |
Media Library /wp-admin/upload.php | 1,781 ▲9 | 5.01 ▼0.02 | 151.21 ▼8.58 | 112.30 ▼7.36 |
WEE! Generator /wp-admin/options-general.php?page=wee-generate | 1,643 | 2.36 | 59.69 | 91.82 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The plugin uninstalled completely, with no zombie files or tables
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Almost there! Just fix the following items
- 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/wow-entrance-effects-wee/wee.php:21
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 93% 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 your attention:
- Requires at least: The plugin version is formatted incorrectly
wow-entrance-effects-wee/wee.php 92% from 13 tests
The primary PHP file in "WOW Entrance Effects (WEE!)" version 0.1 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("wow-entrance-effects-wee.php" instead of "wee.php")
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 plugin366 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 104 | 24 | 361 |
CSS | 2 | 0 | 5 | 3 |
JavaScript | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.00 |
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 | 6 | |
▷ Named functions | 6 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin