Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼264.78ms] Passed 4 tests
An overview of server-side resources used by Maniacal Maze
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.87 ▲0.04 | 33.31 ▼0.99 |
Dashboard /wp-admin | 3.09 ▲0.03 | 40.07 ▼5.10 |
Posts /wp-admin/edit.php | 3.14 ▲0.03 | 39.92 ▼7.35 |
Add New Post /wp-admin/post-new.php | 5.45 ▲0.02 | 91.06 ▼1,038.27 |
Media Library /wp-admin/upload.php | 3.03 ▲0.02 | 32.20 ▼8.38 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 8 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for Maniacal Maze
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,680 ▲74 | 16.35 ▲0.79 | 9.36 ▲1.77 | 68.19 ▲21.67 |
Dashboard /wp-admin | 2,928 ▲78 | 5.90 ▲0.06 | 129.14 ▼0.55 | 99.31 ▲0.06 |
Posts /wp-admin/edit.php | 2,706 ▼0 | 2.68 ▼0.02 | 62.80 ▼1.46 | 90.81 ▲8.81 |
Add New Post /wp-admin/post-new.php | 1,653 ▼200 | 18.79 ▼0.31 | 368.41 ▼25.82 | 109.23 ▲4.70 |
Media Library /wp-admin/upload.php | 1,775 ▲3 | 5.00 ▼0.02 | 156.43 ▲1.75 | 110.84 ▼4.87 |
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
Uninstaller ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 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
Please fix the following
- 3× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/maniacal-maze/maniacal-maze.php:51
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/maniacal-maze/maze-master.php:15
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/maniacal-maze/maze-display.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need to be fixed:
- Requires at least: Version format is invalid
- Requires php: Version format is invalid
maniacal-maze/maniacal-maze.php 92% from 13 tests
"Maniacal Maze" version 3's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
- Version: The version number should only use digits and periods (ex. "1.0.3" instead of "3")
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
Everything looks great! No dangerous files found in this plugin792 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 103 | 79 | 561 |
CSS | 2 | 0 | 4 | 231 |
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.31 |
Average class complexity | 38.00 |
▷ Minimum class complexity | 38.00 |
▷ Maximum class complexity | 38.00 |
Average method complexity | 8.40 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 30.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 5 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 5 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.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