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
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼5.62ms] Passed 4 tests
This is a short check of server-side resources used by Real Buddha Quotes
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 43.80 ▲0.64 |
Dashboard /wp-admin | 3.33 ▼0.02 | 53.90 ▼11.04 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 48.83 ▼0.47 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 88.08 ▼11.60 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 39.14 ▲3.13 |
Real Buddha Quotes /wp-admin/options-general.php?page=random-dhamma-verses | 3.21 | 31.68 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
widget_rdhp_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Real Buddha Quotes
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲72 | 14.73 ▲0.38 | 1.98 ▲0.48 | 42.70 ▲1.30 |
Dashboard /wp-admin | 2,196 ▲18 | 5.58 ▼0.15 | 87.12 ▼25.02 | 38.05 ▼5.42 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.96 ▼0.05 | 34.52 ▼4.93 | 34.17 ▼1.86 |
Add New Post /wp-admin/post-new.php | 1,531 ▲5 | 23.05 ▲0.13 | 668.79 ▲19.51 | 56.52 ▲6.60 |
Media Library /wp-admin/upload.php | 1,404 ▲7 | 4.18 ▼0.04 | 95.67 ▼2.09 | 44.98 ▲0.49 |
Real Buddha Quotes /wp-admin/options-general.php?page=random-dhamma-verses | 881 | 2.12 | 29.04 | 33.35 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 7 options in the database
- widget_rdhp_widget
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- db_upgraded
Smoke tests 75% from 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 50% from 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
Almost there! Just fix the following items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/real-buddha-quotes/real-buddha-quotes.php:466
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
6 plugin tags: quotations, buddha, buddhism, dhamma, quote...
real-buddha-quotes/real-buddha-quotes.php Passed 13 tests
"Real Buddha Quotes" version 1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
43 characters long description:
Displays a random verse from the Dhammapada
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin602 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 59 | 46 | 602 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.17 |
Average class complexity | 4.50 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 5.00 |
Average method complexity | 1.64 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 11 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 11 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin