Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼298.17ms] 75% from 4 tests
An overview of server-side resources used by Adoric - Free WP popup plugin to grow your email list
The following require your attention
- CPU: Total CPU usage should be kept under 500.00ms (currently 729.41ms on /wp-admin/admin.php?page=adoric/views/dashboard.php)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.65 ▲0.13 | 56.79 ▲11.09 |
Dashboard /wp-admin | 3.49 ▲0.08 | 33.51 ▼2.30 |
Posts /wp-admin/edit.php | 3.71 ▲0.07 | 40.03 ▲1.44 |
Add New Post /wp-admin/post-new.php | 6.96 ▼0.01 | 96.82 ▼1,186.99 |
Media Library /wp-admin/upload.php | 3.36 ▲0.06 | 26.71 ▼4.82 |
Dashboard /wp-admin/admin.php?page=adoric/views/dashboard.php | 4.00 | 729.41 |
Settings /wp-admin/admin.php?page=adoric/views/settings.php | 3.34 | 25.06 |
Server storage [IO: ▲2.02MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 49 new files
Database: 1 new table, no new options
New tables |
---|
wp_adoric_data |
Browser metrics Passed 4 tests
An overview of browser requirements for Adoric - Free WP popup plugin to grow your email list
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,804 ▲62 | 15.84 ▲0.09 | 5.73 ▼0.14 | 2.32 ▲0.12 |
Dashboard /wp-admin | 2,930 ▲69 | 6.15 ▼0.02 | 117.74 ▼15.71 | 167.63 ▲7.92 |
Posts /wp-admin/edit.php | 2,730 ▲36 | 3.13 ▼0.11 | 62.74 ▼1.83 | 141.25 ▲1.00 |
Add New Post /wp-admin/post-new.php | 1,800 ▲110 | 20.10 ▼0.54 | 388.95 ▼45.00 | 171.87 ▲18.80 |
Media Library /wp-admin/upload.php | 1,734 ▲36 | 5.55 ▲0.07 | 124.33 ▼19.82 | 198.95 ▲6.21 |
Dashboard /wp-admin/admin.php?page=adoric/views/dashboard.php | 2,743 | 12.22 | 272.52 | 190.48 |
Settings /wp-admin/admin.php?page=adoric/views/settings.php | 1,169 | 2.43 | 50.14 | 95.34 |
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
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
Good news, no errors were detected
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 take a closer look at the following
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'ADORICWP' not found in wp-content/plugins/adoric/views/settings.php:2
- > PHP Fatal error
Uncaught Error: Class 'ADORICWP' not found in wp-content/plugins/adoric/views/dashboard.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that require attention:
- Screenshots: Please add descriptions for these screenshots #10, #11, #12, #8, #9 in adoric/assets to your readme.txt
adoric/adoric.php 92% from 13 tests
This is the main PHP file of "Adoric - Free WP popup plugin to grow your email list" version 1.1.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
- Text Domain: The text domain name should consist of only dashes and lowercase characters
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin9,684 lines of code in 38 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 22 | 337 | 7 | 6,948 |
CSS | 3 | 59 | 6 | 2,018 |
PHP | 11 | 114 | 17 | 634 |
JavaScript | 2 | 12 | 0 | 84 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 8.12 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 36.00 |
Average method complexity | 2.68 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 1 | 12.50% |
Methods | 34 | |
▷ Static methods | 8 | 23.53% |
▷ Public methods | 34 | 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 | 10 | |
▷ Global constants | 10 | 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
There were not PNG files found in your plugin