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.01MB] [CPU: ▼7.20ms] Passed 4 tests
This is a short check of server-side resources used by SX Welcome Pages
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.01 | 37.95 ▼3.56 |
Dashboard /wp-admin | 3.33 ▼0.02 | 44.92 ▼16.34 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 46.96 ▲3.75 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 79.45 ▼11.11 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 37.33 ▲2.21 |
Potrivit /wp-admin/index.php?page=contributors | 3.22 | 29.20 |
Who is managing this website ? /wp-admin/index.php?page=contributors-who | 3.23 | 36.51 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for SX Welcome Pages
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 1,416 ▼1,330 | 10.26 ▼4.11 | 1.69 ▼0.21 | 35.75 ▼9.30 |
Dashboard /wp-admin | 2,202 ▲17 | 5.83 ▲0.02 | 106.69 ▲2.38 | 46.51 ▲2.62 |
Posts /wp-admin/edit.php | 2,100 ▲11 | 2.04 ▲0.03 | 40.81 ▲5.38 | 34.40 ▲0.99 |
Add New Post /wp-admin/post-new.php | 1,539 ▲25 | 23.00 ▲5.38 | 668.57 ▼23.17 | 37.61 ▼8.16 |
Media Library /wp-admin/upload.php | 1,399 ▲11 | 4.33 ▲0.08 | 104.29 ▲8.23 | 44.07 ▼6.09 |
Potrivit /wp-admin/index.php?page=contributors | 791 | 2.02 | 22.80 | 31.75 |
Who is managing this website ? /wp-admin/index.php?page=contributors-who | 810 | 2.05 | 23.43 | 35.29 |
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
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, 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/contributors/contributors.php
- 3× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/contributors/admin-home-data.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/contributors/admin-home-data.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/contributors/admin-home-data.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
5 plugin tags: welcome page, community, login, members, users
contributors/contributors.php Passed 13 tests
"SX Welcome Pages" version 0.0.4's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
65 characters long description:
A WordPress plugin to display a contributors page on admin pages.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin239 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 38 | 95 | 145 |
PO File | 2 | 34 | 42 | 94 |
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.22 |
Average class complexity | 2.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 2.00 |
Average method complexity | 1.10 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 10 | |
▷ Static methods | 7 | 70.00% |
▷ Public methods | 8 | 80.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 20.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
There are no PNG files in this plugin