Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.29MB] [CPU: ▲4.06ms] Passed 4 tests
Server-side resources used by SIW TO
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.72 ▲0.26 | 45.96 ▲7.11 |
Dashboard /wp-admin | 3.55 ▲0.25 | 49.78 ▼0.02 |
Posts /wp-admin/edit.php | 3.74 ▲0.39 | 58.52 ▲9.85 |
Add New Post /wp-admin/post-new.php | 6.23 ▲0.34 | 92.55 ▲0.37 |
Media Library /wp-admin/upload.php | 3.55 ▲0.33 | 43.51 ▲8.78 |
GTag Manager (AVG) /wp-admin/admin.php?page=siw_analytics | 3.57 | 46.11 |
SIW TO /wp-admin/admin.php?page=siw-to | 3.58 | 55.95 |
Server storage [IO: ▲5.28MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 195 new files
Database: no new tables, 9 new options
New WordPress options |
---|
can_compress_scripts |
toggle-avg-ip-msg |
db_upgraded |
siwto_no_index_notice |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
siwto_wpjson_secure |
Browser metrics Passed 4 tests
An overview of browser requirements for SIW TO
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 1,984 ▼751 | 14.01 ▼0.38 | 1.87 ▼0.06 | 27.46 ▼20.44 |
Dashboard /wp-admin | 1,376 ▼812 | 5.30 ▼0.59 | 77.65 ▼30.41 | 73.13 ▲31.36 |
Posts /wp-admin/edit.php | 2,135 ▲46 | 2.22 ▲0.20 | 36.26 ▼5.97 | 38.14 ▲4.12 |
Add New Post /wp-admin/post-new.php | 1,550 ▲31 | 22.13 ▼0.97 | 753.59 ▲63.07 | 37.64 ▼16.47 |
Media Library /wp-admin/upload.php | 1,431 ▲43 | 4.31 ▲0.15 | 102.88 ▼8.93 | 47.29 ▲2.49 |
GTag Manager (AVG) /wp-admin/admin.php?page=siw_analytics | 1,339 | 5.38 | 101.91 | 101.38 |
SIW TO /wp-admin/admin.php?page=siw-to | 1,195 | 5.07 | 89.18 | 86.61 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- The uninstall procedure has failed, leaving 9 options in the database
- siwto_wpjson_secure
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- toggle-avg-ip-msg
- siwto_no_index_notice
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Almost there! Just fix the following items
- 10× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'SIW_TO' not found in wp-content/plugins/specialist-in-websites/includes/page-checklist.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/specialist-in-websites/includes/avg/siwavg.core.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/specialist-in-websites/includes/welcome_msg.php:2
- > PHP Fatal error
Uncaught Error: Class 'SIW_TO' not found in wp-content/plugins/specialist-in-websites/includes/page-toggl.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function get_transient() in wp-content/plugins/specialist-in-websites/includes/dashboard-message-admin.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/specialist-in-websites/includes/variables-style.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/specialist-in-websites/includes/avg/siwavg.utils.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/specialist-in-websites/includes/page-avg.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/specialist-in-websites/includes/page-schema.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/specialist-in-websites/includes/dashboard-message.php:10
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please take a look at the following user-side issues
- > GET request to /wp-admin/admin.php?page=siw_analytics
- > Network (severe)
wp-content/plugins/assets/images/tag-manager-screenshot.png - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Please fix the following attributes:
- Donate link: Invalid url: "paypal.me/marthijnsiw"
specialist-in-websites/plugin.php 92% from 13 tests
The primary PHP file in "SIW TO" version 2.0.4.1 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("specialist-in-websites.php" instead of "plugin.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Good job! No executable or dangerous file extensions detected37,043 lines of code in 149 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 4 | 0 | 0 | 26,803 |
Sass | 90 | 571 | 431 | 4,484 |
PHP | 21 | 283 | 541 | 2,389 |
CSS | 8 | 209 | 531 | 2,361 |
JavaScript | 20 | 53 | 80 | 686 |
SVG | 5 | 0 | 4 | 265 |
Markdown | 1 | 5 | 0 | 55 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.52 |
Average class complexity | 48.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 143.00 |
Average method complexity | 3.92 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 70 | |
▷ Static methods | 18 | 25.71% |
▷ Public methods | 67 | 95.71% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 4.29% |
Functions | 39 | |
▷ Named functions | 8 | 20.51% |
▷ Anonymous functions | 31 | 79.49% |
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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
9 PNG files occupy 0.11MB with 0.04MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/siw-logo-white.png | 33.19KB | 17.92KB | ▼ 46.03% |
assets/images/logo-i.png | 1.80KB | 0.60KB | ▼ 66.65% |
assets/images/santa-hat.png | 5.20KB | 5.18KB | ▼ 0.54% |
assets/images/cropped-zwart_logo-270x270.png | 6.00KB | 6.01KB | 0.00% |
assets/images/siw-dashicon.png | 0.97KB | 0.16KB | ▼ 83.82% |