Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.00MB] [CPU: ▼9.83ms] Passed 4 tests
Analyzing server-side resources used by Rabbit Hole
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 33.35 ▼4.15 |
Dashboard /wp-admin | 3.32 ▼0.03 | 43.76 ▼23.87 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 47.05 ▼0.99 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 83.75 ▼8.26 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 33.63 ▼3.04 |
Rabbit Hole /wp-admin/options-general.php?page=rabbit_hole | 3.21 | 28.14 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 8 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
rabbit_hole |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Rabbit Hole
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,794 ▲22 | 14.34 ▲0.07 | 1.60 ▼0.30 | 40.49 ▲0.52 |
Dashboard /wp-admin | 2,199 ▲22 | 5.60 ▼0.02 | 94.45 ▼5.26 | 42.32 ▼0.84 |
Posts /wp-admin/edit.php | 2,104 ▲1 | 1.96 ▲0.02 | 40.13 ▲5.22 | 35.59 ▲2.84 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 23.32 ▲0.18 | 688.16 ▼6.77 | 57.43 ▲2.30 |
Media Library /wp-admin/upload.php | 1,401 ▲1 | 4.09 ▼0.12 | 101.22 ▼9.58 | 40.41 ▼6.53 |
Rabbit Hole /wp-admin/options-general.php?page=rabbit_hole | 3,916 | 1.84 | 35.18 | 38.81 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 7 options
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- rabbit_hole
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/rabbit-hole/rabbit-hole.php
- 3× 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/rabbit-hole/functions/frontend.php:197
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/rabbit-hole/functions/admin.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/rabbit-hole/functions/metabox.php:54
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There are user-side issues you should fix
- > GET request to /wp-admin/options-general.php?page=rabbit_hole
- > Network (severe)
wp-content/plugins/rabbit-hole/assets/img/icon.svg - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 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
7 plugin tags: cpt, allow, redirect, deny, 404...
rabbit-hole/rabbit-hole.php 92% from 13 tests
The main PHP script in "Rabbit Hole" version 1.1 is automatically included on every request by WordPress
Please take the time to fix the following:
- Domain Path: The domain path points to a folder that does not exist ("/languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected678 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 92 | 81 | 580 |
CSS | 1 | 6 | 0 | 60 |
JavaScript | 1 | 4 | 0 | 38 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.55 |
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 | 23 | |
▷ Named functions | 22 | 95.65% |
▷ Anonymous functions | 1 | 4.35% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
PNG images were not found in this plugin