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.07MB] [CPU: ▼144.19ms] Passed 4 tests
Server-side resources used by Passive Indexation Check
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.91 ▲0.19 | 40.19 ▲13.93 |
Dashboard /wp-admin | 3.14 ▲0.08 | 45.26 ▼10.73 |
Posts /wp-admin/edit.php | 3.19 ▲0.08 | 50.47 ▲0.97 |
Add New Post /wp-admin/post-new.php | 5.49 ▲0.06 | 97.44 ▼571.27 |
Media Library /wp-admin/upload.php | 3.08 ▲0.08 | 39.82 ▲4.27 |
Passive Indexation Check /wp-admin/options-general.php?page=passive-indexation-check/index.php | 3.05 | 33.91 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 8 new files
Database: no new tables, 2 new options
New WordPress options |
---|
passive_indexation_check_emails |
passive_indexation_check_settings |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Passive Indexation Check
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,707 ▲111 | 15.97 ▲0.34 | 7.35 ▼0.61 | 48.24 ▼4.44 |
Dashboard /wp-admin | 3,001 ▲70 | 5.94 ▲0.00 | 150.74 ▲1.80 | 118.95 ▼6.34 |
Posts /wp-admin/edit.php | 2,767 ▲28 | 2.70 ▲0.01 | 72.75 ▼3.75 | 99.47 ▲5.78 |
Add New Post /wp-admin/post-new.php | 1,634 ▼49 | 21.14 ▲2.37 | 287.95 ▼96.74 | 114.41 ▲2.49 |
Media Library /wp-admin/upload.php | 1,779 ▼28 | 5.02 ▼0.01 | 166.04 ▲5.63 | 122.72 ▲1.81 |
Passive Indexation Check /wp-admin/options-general.php?page=passive-indexation-check/index.php | 1,159 | 2.35 | 66.56 | 95.61 |
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
- The uninstall procedure has failed, leaving 2 options in the database
- passive_indexation_check_emails
- passive_indexation_check_settings
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 everything seems fine, this is not an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need your attention:
- Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line (
=== passive-indexation-check ===
)
passive-indexation-check/index.php 92% from 13 tests
"Passive Indexation Check" version 1.0.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("passive-indexation-check.php" instead of "index.php")
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 plugin456 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 46 | 72 | 265 |
JavaScript | 1 | 17 | 54 | 132 |
HTML | 3 | 6 | 3 | 49 |
CSS | 1 | 0 | 0 | 10 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 38.00 |
▷ Minimum class complexity | 38.00 |
▷ Maximum class complexity | 38.00 |
Average method complexity | 3.47 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 15 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 15 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin