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.39MB] [CPU: ▼0.14ms] Passed 4 tests
An overview of server-side resources used by WP Signals
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.11 ▲0.64 | 45.00 ▲5.50 |
Dashboard /wp-admin | 3.67 ▲0.37 | 51.16 ▲2.39 |
Posts /wp-admin/edit.php | 3.79 ▲0.43 | 49.58 ▼5.33 |
Add New Post /wp-admin/post-new.php | 6.27 ▲0.38 | 98.51 ▼2.93 |
Media Library /wp-admin/upload.php | 3.60 ▲0.36 | 40.93 ▲5.33 |
Server storage [IO: ▲1.35MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 70 new files
Database: no new tables, 10 new options
New WordPress options |
---|
theysaidso_admin_options |
wp-signals-configuration-app-analytics |
wp-signals-configuration-app-setup |
wp-signals-configuration-app-id |
wp-signals-configuration-app-data-fields |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by WP Signals
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,816 ▲81 | 13.19 ▼1.11 | 1.77 ▼0.60 | 39.30 ▼8.61 |
Dashboard /wp-admin | 2,222 ▲37 | 4.92 ▼0.04 | 107.54 ▼4.50 | 42.36 ▼4.92 |
Posts /wp-admin/edit.php | 2,105 ▲13 | 2.05 ▼0.11 | 39.56 ▼6.64 | 32.07 ▼7.71 |
Add New Post /wp-admin/post-new.php | 1,528 ▼5 | 23.50 ▲0.29 | 653.39 ▼90.92 | 54.64 ▲2.98 |
Media Library /wp-admin/upload.php | 1,404 ▲19 | 4.26 ▲0.01 | 112.29 ▲3.67 | 43.70 ▲1.12 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
Smoke tests Passed 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 Passed 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
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
4 plugin tags: facebook pixel events, facebook conversions api, facebook pixel, facebook javascript pixel
wp-signals/wp-signals.php 92% from 13 tests
The entry point to "WP Signals" version 2.0.0 is a PHP file that has certain tags in its header comment area
The following require your attention:
- Domain Path: The domain path should use only dashes and lowercase characters ("/Languages")
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
Everything looks great! No dangerous files found in this plugin3,902 lines of code in 34 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 22 | 792 | 715 | 2,310 |
CSS | 4 | 1 | 13 | 535 |
LESS | 2 | 169 | 9 | 528 |
JavaScript | 5 | 123 | 19 | 504 |
PO File | 1 | 3 | 6 | 25 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.71 |
Average class complexity | 30.06 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 171.00 |
Average method complexity | 6.89 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 35.00 |
Code structure | ||
---|---|---|
Namespaces | 6 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 17 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 17 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 82 | |
▷ Static methods | 20 | 24.39% |
▷ Public methods | 58 | 70.73% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 24 | 29.27% |
Functions | 11 | |
▷ Named functions | 4 | 36.36% |
▷ Anonymous functions | 7 | 63.64% |
Constants | 10 | |
▷ Global constants | 4 | 40.00% |
▷ Class constants | 6 | 60.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
27 PNG files occupy 0.26MB with 0.14MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
Admin/assets/icons/faq.png | 12.73KB | 5.24KB | ▼ 58.88% |
Admin/assets/icons/pixel-wizard.png | 9.72KB | 4.32KB | ▼ 55.58% |
Admin/assets/icons/question.png | 11.67KB | 5.42KB | ▼ 53.53% |
Admin/assets/icons/hourglass.png | 6.63KB | 3.15KB | ▼ 52.42% |
Admin/assets/icons/facebook.png | 1.73KB | 0.98KB | ▼ 43.35% |