Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.05MB] [CPU: ▼6.85ms] Passed 4 tests
An overview of server-side resources used by Quotes llama
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 36.56 ▼7.66 |
Dashboard /wp-admin | 3.37 ▲0.03 | 53.13 ▼12.48 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 56.27 ▲8.45 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.07 | 86.58 ▼8.63 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 36.32 ▲1.36 |
Server storage [IO: ▲0.32MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 29 new files
Database: 1 new table, 8 new options
New tables |
---|
wp_quotes_llama |
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
quotes-llama-settings |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_widgetquotesllama |
Browser metrics Passed 4 tests
Quotes llama: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,964 ▲218 | 14.90 ▲0.53 | 1.68 ▼0.17 | 44.71 ▲0.99 |
Dashboard /wp-admin | 2,366 ▲211 | 6.44 ▲0.88 | 136.72 ▲23.95 | 40.47 ▼1.11 |
Posts /wp-admin/edit.php | 2,275 ▲183 | 3.60 ▲1.61 | 53.49 ▲17.72 | 34.82 ▲1.59 |
Add New Post /wp-admin/post-new.php | 1,535 ▼7 | 17.52 ▼0.69 | 633.69 ▼6.78 | 35.79 ▼20.38 |
Media Library /wp-admin/upload.php | 1,414 ▲29 | 4.21 ▼0.01 | 87.08 ▼38.62 | 42.65 ▼9.01 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- Zombie tables were found after uninstall: 1 table
- wp_quotes_llama
- Zombie WordPress options detected upon uninstall: 7 options
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- widget_widgetquotesllama
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 0% 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 output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/quotes-llama/class-quotesllama.php
- 4× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/quotes-llama/inc/dashicons/dash-icons.php:360
- > PHP Fatal error
Uncaught Error: Class 'QuotesLlama' not found in wp-content/plugins/quotes-llama/class-quotesllama-table.php:17
- > PHP Fatal error
Uncaught Error: Class 'QuotesLlama' not found in wp-content/plugins/quotes-llama/class-quotesllama-backup.php:17
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/quotes-llama/class-quotesllama-widget.php:17
- > 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 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
3 plugin tags: share, think, quote
quotes-llama/class-quotesllama.php 85% from 13 tests
"Quotes llama" version 2.2.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Domain Path: The domain path points to an invalid folder, "/lang" does not exist
- Main file name: The principal plugin file should be the same as the plugin slug ("quotes-llama.php" instead of "class-quotesllama.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected7,689 lines of code in 25 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 889 | 1,989 | 5,982 |
JavaScript | 2 | 284 | 520 | 1,149 |
CSS | 16 | 78 | 12 | 558 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 179.75 |
▷ Minimum class complexity | 32.00 |
▷ Maximum class complexity | 534.00 |
Average method complexity | 5.68 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 90.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 | 153 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 80 | 52.29% |
▷ Protected methods | 19 | 12.42% |
▷ Private methods | 54 | 35.29% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 2 | 100.00% |
▷ Public constants | 2 | 100.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