Benchmarks
Plugin footprint 83% from 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: ▼9.00ms] Passed 4 tests
Analyzing server-side resources used by WP Best Glossary
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 38.28 ▼4.39 |
Dashboard /wp-admin | 3.36 ▲0.02 | 47.75 ▼10.34 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 45.49 ▼7.31 |
Add New Post /wp-admin/post-new.php | 6.03 ▲0.15 | 81.81 ▼13.95 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 38.53 ▲5.24 |
Settings /wp-admin/admin.php?page=bwpg-settings | 3.25 | 37.01 |
Glossary Word /wp-admin/edit.php?post_type=bwpg_word | 3.32 | 35.73 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WP Best Glossary
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,916 ▲145 | 13.99 ▼0.62 | 9.61 ▲7.56 | 44.65 ▼1.52 |
Dashboard /wp-admin | 2,233 ▲45 | 5.88 ▼0.02 | 109.85 ▼7.87 | 42.63 ▲1.43 |
Posts /wp-admin/edit.php | 2,119 ▲30 | 2.00 ▼0.02 | 40.81 ▲0.51 | 35.61 ▲0.88 |
Add New Post /wp-admin/post-new.php | 1,556 ▲23 | 23.41 ▲0.34 | 697.60 ▲69.11 | 67.18 ▲18.18 |
Media Library /wp-admin/upload.php | 1,415 ▲30 | 4.26 ▲0.04 | 105.09 ▼0.33 | 43.29 ▼2.78 |
Settings /wp-admin/admin.php?page=bwpg-settings | 985 | 2.62 | 58.57 | 29.34 |
Glossary Word /wp-admin/edit.php?post_type=bwpg_word | 1,080 | 1.99 | 31.80 | 28.53 |
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
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
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 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
1 plugin tags: glossary
best-wp-glossary/wp-best-glossary.php 85% from 13 tests
"WP Best Glossary" version 1.0.4's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
- Text Domain: The text domain name should consist of only dashes and lowercase characters
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("best-wp-glossary.php" instead of "wp-best-glossary.php")
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
Good job! No executable or dangerous file extensions detected240 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 99 | 72 | 236 |
JavaScript | 2 | 0 | 10 | 3 |
CSS | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
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 | 10 | |
▷ Named functions | 10 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
PNG images were not found in this plugin