Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
These installer errors require your attention
- The plugin cannot be installed
- > Deprecated in wp-content/plugins/spanish-quote-of-the-day-frase-del-dia/spanish-quotes.php+20
define(): Declaration of case-insensitive constants is deprecated
Server metrics [RAM: ▼1.94MB] [CPU: ▼54.75ms] Passed 4 tests
A check of server-side resources used by Spanish Quote of the Day
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.05 ▼1.41 | 4.81 ▼39.24 |
Dashboard /wp-admin | 2.07 ▼1.23 | 6.00 ▼45.89 |
Posts /wp-admin/edit.php | 2.07 ▼1.29 | 5.77 ▼44.61 |
Add New Post /wp-admin/post-new.php | 2.07 ▼3.82 | 6.21 ▼89.26 |
Media Library /wp-admin/upload.php | 2.07 ▼1.16 | 5.68 ▼28.04 |
Spanish Quotes /wp-admin/options-general.php?page=spanish_quotes_settings | 2.07 | 5.68 |
Server storage [IO: ▲0.74MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 21 new files
Database: no new tables, 8 new options
New WordPress options |
---|
cool-quotes-ver |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
widget_sqod_quotes |
Browser metrics Passed 4 tests
An overview of browser requirements for Spanish Quote of the Day
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,873 ▲127 | 13.59 ▼0.64 | 2.08 ▲0.11 | 41.93 ▼2.56 |
Dashboard /wp-admin | 2,210 ▲25 | 4.84 ▼0.02 | 109.23 ▼9.89 | 40.61 ▼6.10 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.00 ▲0.03 | 41.12 ▲5.60 | 33.67 ▼1.14 |
Add New Post /wp-admin/post-new.php | 1,523 ▼11 | 23.35 ▲0.12 | 678.18 ▼16.69 | 53.09 ▼5.12 |
Media Library /wp-admin/upload.php | 1,395 ▲7 | 4.23 ▼0.07 | 97.48 ▼7.86 | 43.61 ▼1.93 |
Spanish Quotes /wp-admin/options-general.php?page=spanish_quotes_settings | 1,034 | 1.95 | 34.44 | 64.05 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin cannot be uninstalled
- > Deprecated in wp-content/plugins/spanish-quote-of-the-day-frase-del-dia/spanish-quotes.php+20
define(): Declaration of case-insensitive constants is deprecated
- Zombie WordPress options detected upon uninstall: 8 options
- widget_recent-posts
- widget_theysaidso_widget
- widget_sqod_quotes
- db_upgraded
- widget_recent-comments
- cool-quotes-ver
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Please fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=spanish_quotes_settings
- > Deprecated in wp-content/plugins/spanish-quote-of-the-day-frase-del-dia/spanish-quotes.php+21
define(): Declaration of case-insensitive constants is deprecated
- 5 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=spanish_quotes_settings
- > Notice in wp-content/plugins/spanish-quote-of-the-day-frase-del-dia/includes/backend-interface.php+106
Trying to access array offset on value of type bool
- 3 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=spanish_quotes_settings
- > Warning in wp-content/plugins/spanish-quote-of-the-day-frase-del-dia/includes/messages-interface.php+136
Use of undefined constant WPLANG - assumed 'WPLANG' (this will throw an Error in a future version of PHP)
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
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/spanish-quote-of-the-day-frase-del-dia/includes/widget-interface.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function untrailingslashit() in wp-content/plugins/spanish-quote-of-the-day-frase-del-dia/spanish-quotes.php:20
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
7 plugin tags: frases clebres, random quotes, quotes, frase del dia, frases...
spanish-quote-of-the-day-frase-del-dia/spanish-quotes.php 85% from 13 tests
The main file in "Spanish Quote of the Day" v. 1.4.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 351 characters long)
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("spanish-quote-of-the-day-frase-del-dia.php" instead of "spanish-quotes.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin866 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 214 | 177 | 587 |
PO File | 1 | 100 | 183 | 235 |
CSS | 2 | 2 | 20 | 34 |
JavaScript | 2 | 2 | 25 | 10 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.08 |
Average class complexity | 9.33 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 16.00 |
Average method complexity | 1.52 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 48 | |
▷ Static methods | 26 | 54.17% |
▷ Public methods | 48 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.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