Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼4.53ms] Passed 4 tests
This is a short check of server-side resources used by Wpit Funny Name Generator
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.62 ▲0.16 | 39.74 ▼3.95 |
Dashboard /wp-admin | 3.36 ▲0.06 | 58.44 ▲7.83 |
Posts /wp-admin/edit.php | 3.47 ▲0.12 | 48.30 ▼3.96 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 89.39 ▼8.02 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 36.79 ▼2.17 |
Funny Name Generator Settings /wp-admin/options-general.php?page=wpit-funny-name-generator | 3.25 | 31.30 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 11 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
wpit-wpitfng-version |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Wpit Funny Name Generator
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,880 ▲119 | 14.40 ▲0.03 | 4.90 ▲3.06 | 41.52 ▲2.69 |
Dashboard /wp-admin | 2,193 ▲13 | 5.62 ▲0.08 | 97.72 ▲8.35 | 44.40 ▲4.45 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.03 ▲0.08 | 40.48 ▲5.21 | 38.06 ▼0.86 |
Add New Post /wp-admin/post-new.php | 1,529 ▲1 | 23.78 ▲0.70 | 673.65 ▼15.13 | 57.13 ▼0.33 |
Media Library /wp-admin/upload.php | 1,407 ▲7 | 4.21 ▲0.00 | 99.52 ▼13.67 | 43.91 ▼3.16 |
Funny Name Generator Settings /wp-admin/options-general.php?page=wpit-funny-name-generator | 832 | 1.99 | 24.54 | 32.21 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 7 options
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- wpit-wpitfng-version
- widget_recent-posts
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 96% 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
4 plugin tags: ninja, unicorn, mad max, jedi
wpit-funny-name-generator/wpit-funny-name-generator.php 92% from 13 tests
The principal PHP file in "Wpit Funny Name Generator" v. 2.1 is loaded by WordPress automatically on each request
The following require your attention:
- Domain Path: The domain path points to a folder that does not exist ("/languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin1,068 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 348 | 364 | 1,005 |
CSS | 1 | 13 | 1 | 63 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 24.57 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 61.00 |
Average method complexity | 5.71 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 27.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 | 35 | |
▷ Static methods | 3 | 8.57% |
▷ Public methods | 27 | 77.14% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 8 | 22.86% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin