Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.03MB] [CPU: ▼269.20ms] Passed 4 tests
Server-side resources used by Turgenev
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.87 ▲0.15 | 33.25 ▲8.59 |
Dashboard /wp-admin | 3.13 ▲0.08 | 41.30 ▼0.51 |
Posts /wp-admin/edit.php | 3.24 ▲0.14 | 40.05 ▼1.63 |
Add New Post /wp-admin/post-new.php | 5.04 ▼0.39 | 71.58 ▼1,065.62 |
Media Library /wp-admin/upload.php | 3.07 ▲0.07 | 30.57 ▼9.03 |
"Turgenev" /wp-admin/options-general.php?page=turgenev-settings | 2.97 | 24.83 |
Server storage [IO: ▲0.06MB] [DB: ▲0.67MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 14 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Turgenev: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,654 ▲48 | 15.93 ▲0.04 | 9.67 ▼1.35 | 47.65 ▼1.84 |
Dashboard /wp-admin | 2,932 ▲79 | 6.09 ▲0.27 | 139.49 ▼1.10 | 105.43 ▼1.26 |
Posts /wp-admin/edit.php | 2,708 ▲2 | 2.70 ▲0.02 | 65.48 ▲0.76 | 88.30 ▼7.84 |
Add New Post /wp-admin/post-new.php | 1,674 ▲23 | 17.25 ▼0.17 | 349.50 ▼16.33 | 124.30 ▲7.76 |
Media Library /wp-admin/upload.php | 1,780 ▲8 | 5.01 ▲0.03 | 147.96 ▼5.76 | 110.64 ▲0.14 |
"Turgenev" /wp-admin/options-general.php?page=turgenev-settings | 1,097 | 4.94 | 106.68 | 86.91 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.67MB] Passed 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Uninstaller ran successfully
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These server-side errors were triggered
- > GET request to /wp-admin/options-general.php?page=turgenev-settings
- > Notice in wp-content/plugins/turgenev/includes/class-turgenev.php+176
Trying to access array offset on value of type bool
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The SRP test was a success
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 Passed 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
5 plugin tags: gutenberg, content analysis, gutenberg editor, seo, readability
turgenev/turgenev.php Passed 13 tests
This is the main PHP file of "Turgenev" version 1.4, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
85 characters long description:
Assesses the risk of falling under the "Baden-Baden" and shows what needs to be fixed
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 plugin410 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 103 | 220 | 326 |
PO File | 1 | 33 | 158 | 80 |
JavaScript | 2 | 0 | 0 | 2 |
CSS | 1 | 1 | 0 | 1 |
JSON | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 15.00 |
▷ Minimum class complexity | 11.00 |
▷ Maximum class complexity | 19.00 |
Average method complexity | 2.04 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 1 | 50.00% |
Methods | 27 | |
▷ Static methods | 1 | 3.70% |
▷ Public methods | 23 | 85.19% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 14.81% |
Functions | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 1 test
Image compression Passed 1 test
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected