Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▼0.00MB] [CPU: ▼146.48ms] Passed 4 tests
A check of server-side resources used by Revhunter WP
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.83 ▲0.00 | 36.39 ▲0.73 |
Dashboard /wp-admin | 3.06 ▲0.00 | 52.39 ▲0.23 |
Posts /wp-admin/edit.php | 3.11 ▲0.00 | 45.23 ▼4.78 |
Add New Post /wp-admin/post-new.php | 5.42 ▼0.02 | 96.42 ▼582.09 |
Media Library /wp-admin/upload.php | 3.00 ▲0.00 | 36.37 ▲1.27 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 19 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for Revhunter WP
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,679 ▲83 | 16.20 ▲0.50 | 11.69 ▲2.09 | 46.57 ▲1.71 |
Dashboard /wp-admin | 2,970 ▲33 | 6.05 ▲0.06 | 151.66 ▼0.77 | 109.85 ▼4.47 |
Posts /wp-admin/edit.php | 2,739 ▼0 | 2.72 ▼0.01 | 68.76 ▼3.17 | 93.47 ▲5.20 |
Add New Post /wp-admin/post-new.php | 1,615 ▲34 | 21.44 ▲1.26 | 383.57 ▼155.04 | 109.69 ▼4.32 |
Media Library /wp-admin/upload.php | 1,807 ▼3 | 5.08 ▲0.04 | 173.71 ▲0.35 | 120.98 ▼5.65 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
This plugin's 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 | 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 take a closer look at the following
- 2× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/revhunter-wp/admin/partials/revhunter-wp-admin-display.php
- > /wp-content/plugins/revhunter-wp/public/partials/revhunter-wp-public-display.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
10 plugin tags: revhunter, abandoned carts, product feed, prospecting, emailing...
revhunter-wp/revhunter-wp.php Passed 13 tests
The entry point to "Revhunter WP" version 1.0.0 is a PHP file that has certain tags in its header comment area
124 characters long description:
Revhunter dostarcza ruch nowych użytkowników, angażuje do ponownych zakupów, inspiruje poprzez rekomendacje i sprzedaje.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Success! There were no dangerous files found in this plugin289 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 119 | 471 | 289 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 4.86 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 20.00 |
Average method complexity | 1.81 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 30 | |
▷ Static methods | 2 | 6.67% |
▷ Public methods | 25 | 83.33% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 16.67% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin