Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.11MB] [CPU: ▼7.03ms] Passed 4 tests
This is a short check of server-side resources used by Quotopia
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.10 | 35.20 ▼8.73 |
Dashboard /wp-admin | 3.42 ▲0.11 | 47.72 ▼2.95 |
Posts /wp-admin/edit.php | 3.47 ▲0.11 | 49.45 ▼6.59 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.12 | 86.66 ▼9.86 |
Media Library /wp-admin/upload.php | 3.34 ▲0.11 | 35.85 ▲1.87 |
Quotopia /wp-admin/admin.php?page=quotopia | 3.29 | 30.78 |
BD Plugins /wp-admin/admin.php?page=bearlydoug | 3.31 | 38.44 |
Server storage [IO: ▲0.50MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 30 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Quotopia: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,858 ▲96 | 14.75 ▲0.02 | 3.95 ▲2.29 | 36.81 ▼6.92 |
Dashboard /wp-admin | 2,232 ▲55 | 5.78 ▲0.14 | 96.36 ▼1.72 | 73.85 ▲29.31 |
Posts /wp-admin/edit.php | 2,140 ▲40 | 2.19 ▲0.25 | 37.93 ▼4.22 | 33.52 ▼5.97 |
Add New Post /wp-admin/post-new.php | 1,558 ▲32 | 23.12 ▲0.01 | 769.23 ▲100.09 | 40.93 ▼14.10 |
Media Library /wp-admin/upload.php | 1,434 ▲34 | 4.36 ▲0.11 | 100.30 ▲1.44 | 68.32 ▲25.39 |
Quotopia /wp-admin/admin.php?page=quotopia | 3,383 | 1.85 | 30.50 | 83.03 |
BD Plugins /wp-admin/admin.php?page=bearlydoug | 1,424 | 1.78 | 26.03 | 35.60 |
Uninstaller [IO: ▲0.03MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These server-side errors were triggered
- 10 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=quotopia
- > Notice in wp-content/plugins/quotopia/quotopia.php+301
Trying to access array offset on value of type null
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=quotopia
- > Warning in wp-content/plugins/quotopia/quotopia.php+290
count(): Parameter must be an array or an object that implements Countable
SRP 0% 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
Please take a closer look at the following
- 4× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/quotopia/images/index.php
- > /wp-content/plugins/quotopia/quotopia.php
- > /wp-content/plugins/quotopia/includes/index.php
- > /wp-content/plugins/quotopia/quotes/index.php
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/quotopia/includes/BDPluginsNews.php:33
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/quotopia/functions-bd.php:49
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
- Tags: Too many tags (12 tag instead of maximum 10); only the first 5 tags are used in your directory listing
quotopia/quotopia.php Passed 13 tests
The main PHP file in "Quotopia" ver. 1.0.7 adds more information about the plugin and also serves as the entry point for this plugin
71 characters long description:
Just a simple plugin to display quotes from incredible women in sports.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected2,789 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 4 | 365 | 300 | 1,618 |
PHP | 5 | 72 | 168 | 715 |
CSS | 2 | 77 | 37 | 456 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
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 | 11 | |
▷ Named functions | 11 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 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
5 PNG files occupy 0.18MB with 0.06MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/gutenborg.png | 161.82KB | 51.46KB | ▼ 68.20% |
images/disable-gutenberg-plugin-icon.png | 16.22KB | 16.21KB | 0.05% |
images/vimeo.png | 0.55KB | 0.67KB | 0.00% |
images/delete.png | 0.96KB | 0.69KB | ▼ 27.68% |
images/spacer.png | 0.27KB | 0.09KB | ▼ 64.60% |