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
Installer ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼10.80ms] Passed 4 tests
Server-side resources used by Flexible Blogtitle
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 39.45 ▼0.70 |
Dashboard /wp-admin | 3.39 ▲0.08 | 47.57 ▼3.91 |
Posts /wp-admin/edit.php | 3.44 ▲0.08 | 45.35 ▼12.23 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 85.75 ▼26.36 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 38.84 ▲5.12 |
Flexible Blogtitle /wp-admin/options-general.php?page=flexible-blogtitle | 3.29 | 34.22 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 8 new files
Database: no new tables, 9 new options
New WordPress options |
---|
flexible_blogtitle_auto_blogname |
widget_recent-posts |
flexible_blogtitle_rules |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
flexible_blogtitle_auto_title |
Browser metrics Passed 4 tests
A check of browser resources used by Flexible Blogtitle
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲60 | 13.66 ▼0.70 | 1.78 ▼0.04 | 42.13 ▼1.54 |
Dashboard /wp-admin | 2,212 ▲24 | 5.80 ▲0.70 | 100.31 ▼7.96 | 39.57 ▼3.16 |
Posts /wp-admin/edit.php | 2,098 ▲6 | 2.05 ▲0.07 | 38.35 ▼1.29 | 33.17 ▼4.29 |
Add New Post /wp-admin/post-new.php | 1,542 ▲22 | 18.60 ▼4.43 | 650.77 ▲11.94 | 48.06 ▼10.12 |
Media Library /wp-admin/upload.php | 1,394 ▲9 | 4.25 ▲0.00 | 99.81 ▲0.48 | 45.75 ▲3.41 |
Flexible Blogtitle /wp-admin/options-general.php?page=flexible-blogtitle | 1,108 | 2.08 | 26.20 | 33.04 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- Zombie WordPress options were found after uninstall: 9 options
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- flexible_blogtitle_auto_title
- flexible_blogtitle_rules
- can_compress_scripts
- widget_recent-comments
- flexible_blogtitle_auto_blogname
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Everything seems fine, however this is by no means an exhaustive test
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 93% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Please fix the following attributes:
- Screenshots: Screenshot #1 (The plugin's settings page lets you define custom rules.) image missing
flexible-blogtitle/flexible_blogtitle.php 92% from 13 tests
This is the main PHP file of "Flexible Blogtitle" version 0.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
The following require your attention:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("flexible-blogtitle.php" instead of "flexible_blogtitle.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected749 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 33 | 113 | 523 |
PO File | 1 | 31 | 37 | 127 |
JavaScript | 1 | 1 | 10 | 99 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.59 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 18 | |
▷ Named functions | 18 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 compressed PNG file occupies 0.02MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 21.49KB | 20.10KB | ▼ 6.47% |