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
Installer ran successfully
Server metrics [RAM: ▼0.00MB] [CPU: ▼8.41ms] Passed 4 tests
A check of server-side resources used by Spectoos Testimonials
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 36.73 ▼8.10 |
Dashboard /wp-admin | 3.32 ▼0.03 | 50.00 ▼17.02 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 50.08 ▲2.41 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 91.34 ▼8.57 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 36.18 ▲0.04 |
Spectoos /wp-admin/options-general.php?page=spectoos | 3.23 | 33.45 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Spectoos Testimonials
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.13 ▼0.43 | 1.70 ▼0.00 | 43.10 ▲1.13 |
Dashboard /wp-admin | 2,202 ▲22 | 5.51 ▼0.13 | 84.01 ▼18.57 | 37.47 ▼5.92 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.95 ▼0.03 | 38.42 ▼1.16 | 33.97 ▼0.77 |
Add New Post /wp-admin/post-new.php | 1,530 ▼1 | 22.99 ▼0.04 | 659.59 ▼34.03 | 59.08 ▼1.71 |
Media Library /wp-admin/upload.php | 1,398 ▼5 | 4.15 ▼0.04 | 103.43 ▼1.01 | 45.56 ▲0.69 |
Spectoos /wp-admin/options-general.php?page=spectoos | 846 | 1.98 | 22.07 | 27.13 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- 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)
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=spectoos
- > Warning in wp-content/plugins/spectoos-testimonials/spectoos.php+103
Use of undefined constant faceboard_api_key - assumed 'faceboard_api_key' (this will throw an Error in a future version of PHP)
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× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/spectoos-testimonials/spectoos.php:57
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please fix the following user-side errors
- > GET request to /wp-admin/options-general.php?page=spectoos
- > Network (severe)
https://app.spectoos.com/api/v1/spectoos.js?apikey=1_vW9NauPHKyp8HG4SjOeslQ - Failed to load resource: net::ERR_EMPTY_RESPONSE
- > GET request to /wp-admin/options-general.php?page=spectoos
- > Javascript (severe) in unknown
/wp-admin/options-general.php?page=spectoos 148:3 Uncaught ReferenceError: spectoos is not defined
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that require attention:
- Tags: You are using too many tags: 23 tag instead of maximum 10
spectoos-testimonials/spectoos.php 92% from 13 tests
Analyzing the main PHP file in "Spectoos Testimonials" version 2.8
Please make the necessary changes and fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("spectoos-testimonials.php" instead of "spectoos.php")
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
No dangerous file extensions were detected98 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 28 | 10 | 98 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.13 |
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 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
1 PNG file occupies 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/strip.png | 12.59KB | 6.52KB | ▼ 48.21% |