Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.06MB] [CPU: ▼8.40ms] Passed 4 tests
Analyzing server-side resources used by The Word Widget
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.07 | 37.42 ▼3.06 |
Dashboard /wp-admin | 3.38 ▲0.03 | 50.71 ▼6.49 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 47.49 ▲4.22 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 83.99 ▼22.24 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 34.97 ▼1.79 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 10 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
widget_thewordwidget |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for The Word Widget
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲43 | 14.34 ▼0.01 | 1.71 ▲0.03 | 37.80 ▼5.10 |
Dashboard /wp-admin | 2,195 ▲14 | 5.54 ▼0.19 | 92.66 ▼5.98 | 37.56 ▲0.57 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 1.99 ▲0.03 | 40.81 ▼0.72 | 34.71 ▼3.78 |
Add New Post /wp-admin/post-new.php | 1,531 ▲2 | 23.30 ▲0.25 | 681.18 ▲50.11 | 60.73 ▲3.38 |
Media Library /wp-admin/upload.php | 1,394 ▼3 | 4.21 ▲0.01 | 99.56 ▼17.60 | 43.81 ▼3.00 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin does not fully uninstall, leaving 7 options in the database
- widget_thewordwidget
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 75% from 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)
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 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 following issues need your attention
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/the-word-widget/the-word-widget.php:40
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 81% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need to be fixed:
- Tags: Please reduce the number of tags, currently 37 tag instead of maximum 10
- Screenshots: These screenshots have no corresponding images in /assets: #1 (The widget configuration), #2 (The widget in a wider widget area (line breaks preserved)), #3 (The widget in a small widget area (no line breaks))
- Contributors: The plugin contributors field is not present
the-word-widget/the-word-widget.php Passed 13 tests
"The Word Widget" version 0.9's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
123 characters long description:
Shows two Bible sayings per day: "The Word" by project Bible 2.0, available in over 10 languages, got remotely for each day
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected380 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 69 | 121 | 335 |
CSS | 1 | 6 | 9 | 45 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 10.75 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 25.00 |
Average method complexity | 2.77 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 22 | |
▷ Static methods | 15 | 68.18% |
▷ Public methods | 16 | 72.73% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 27.27% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.00% |
Constants | 5 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 5 | 100.00% |
▷ Public constants | 5 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin