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.00MB] [CPU: ▼139.44ms] Passed 4 tests
Analyzing server-side resources used by ProPhoto Footer Remover
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.84 ▲0.12 | 36.49 ▲14.21 |
Dashboard /wp-admin | 3.06 ▲0.01 | 45.42 ▲4.63 |
Posts /wp-admin/edit.php | 3.11 ▲0.01 | 43.15 ▼0.19 |
Add New Post /wp-admin/post-new.php | 5.42 ▼0.01 | 87.00 ▼564.39 |
Media Library /wp-admin/upload.php | 3.01 ▲0.00 | 34.20 ▲2.18 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 4 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for ProPhoto Footer Remover
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,710 ▲114 | 15.95 ▲0.42 | 8.14 ▼1.35 | 47.14 ▼0.53 |
Dashboard /wp-admin | 2,992 ▲58 | 6.09 ▼0.05 | 167.21 ▲23.90 | 106.70 ▼0.49 |
Posts /wp-admin/edit.php | 2,739 ▼0 | 2.72 ▲0.00 | 59.29 ▼7.33 | 84.13 ▼3.06 |
Add New Post /wp-admin/post-new.php | 1,504 ▼179 | 18.64 ▼0.16 | 384.07 ▼4.10 | 105.64 ▼0.76 |
Media Library /wp-admin/upload.php | 1,807 ▼0 | 5.00 ▼0.01 | 157.51 ▼6.37 | 116.03 ▲2.59 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
This plugin's uninstaller ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
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
Please 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/prophoto-footer-remover/remove-pp-footer.php:17
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
There were no plugin tags found
prophoto-footer-remover/remove-pp-footer.php 85% from 13 tests
Analyzing the main PHP file in "ProPhoto Footer Remover" version 1.0
Please take the time to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 177 characters long)
- Main file name: It is recommended to name the main PHP file as the plugin slug ("prophoto-footer-remover.php" instead of "remove-pp-footer.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin13 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 8 | 9 | 10 |
CSS | 1 | 0 | 0 | 3 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
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 | 2 | |
▷ Named functions | 2 | 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 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin