Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼139.87ms] Passed 4 tests
A check of server-side resources used by Publica Ad Block Recovery
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.86 ▲0.14 | 37.07 ▲14.43 |
Dashboard /wp-admin | 3.09 ▲0.03 | 42.99 ▼2.71 |
Posts /wp-admin/edit.php | 3.14 ▲0.03 | 45.74 ▲0.26 |
Add New Post /wp-admin/post-new.php | 5.45 ▲0.01 | 88.24 ▼559.09 |
Media Library /wp-admin/upload.php | 3.03 ▲0.03 | 35.22 ▲2.08 |
Publica Ad Recovery /wp-admin/options-general.php?page=publica-ad-block-recovery | 3.00 | 28.33 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 6 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for Publica Ad Block Recovery
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,684 ▲88 | 15.74 ▲0.07 | 10.77 ▲1.48 | 49.91 ▼2.86 |
Dashboard /wp-admin | 2,994 ▲63 | 5.98 ▼0.16 | 132.99 ▼19.69 | 104.80 ▼3.91 |
Posts /wp-admin/edit.php | 2,744 ▲5 | 2.72 ▲0.00 | 65.39 ▼3.90 | 84.48 ▼1.73 |
Add New Post /wp-admin/post-new.php | 1,503 ▼2,133 | 18.83 ▲3.90 | 363.94 ▼110.38 | 105.25 ▼9.99 |
Media Library /wp-admin/upload.php | 1,812 ▲5 | 5.04 ▲0.04 | 155.20 ▼3.56 | 112.55 ▼5.10 |
Publica Ad Recovery /wp-admin/options-general.php?page=publica-ad-block-recovery | 1,085 | 2.10 | 56.19 | 82.38 |
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 shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 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
Please fix the following items
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/publica-ad-block-recovery/views/settings.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function register_deactivation_hook() in wp-content/plugins/publica-ad-block-recovery/publica-ad-block-recovery.php:154
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need to be fixed:
- Screenshots: A description for screenshot #2 is required in publica-ad-block-recovery/assets to your readme.txt
publica-ad-block-recovery/publica-ad-block-recovery.php Passed 13 tests
The primary PHP file in "Publica Ad Block Recovery" version 1.0.0 is used by WordPress to initiate all plugin functionality
76 characters long description:
Helping Publishers monetize ad blocked traffic through video ad reinsertion.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin428 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
Markdown | 1 | 50 | 0 | 242 |
PHP | 2 | 18 | 36 | 173 |
make | 1 | 2 | 0 | 13 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 14.00 |
▷ Minimum class complexity | 14.00 |
▷ Maximum class complexity | 14.00 |
Average method complexity | 2.86 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.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 | 7 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 7 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There were not PNG files found in your plugin