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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼1.61ms] Passed 4 tests
Analyzing server-side resources used by SoulMatch
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 43.74 ▼1.48 |
Dashboard /wp-admin | 3.32 ▲0.02 | 51.83 ▼3.87 |
Posts /wp-admin/edit.php | 3.44 ▲0.08 | 55.63 ▲0.02 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 100.22 ▼1.12 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 36.83 ▲1.27 |
SoulMatch /wp-admin/options-general.php?page=soulmatch-settings | 3.22 | 38.27 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for SoulMatch
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,893 ▲93 | 13.99 ▲0.65 | 7.23 ▲5.60 | 45.22 ▲3.03 |
Dashboard /wp-admin | 2,207 ▲4 | 5.88 ▲1.07 | 100.45 ▼19.45 | 40.62 ▼8.05 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 1.99 ▼0.04 | 40.48 ▼0.63 | 35.38 ▼0.07 |
Add New Post /wp-admin/post-new.php | 1,546 ▲13 | 18.14 ▼5.09 | 605.49 ▼85.29 | 58.16 ▲6.92 |
Media Library /wp-admin/upload.php | 1,386 ▲4 | 4.20 ▼0.02 | 95.86 ▼2.44 | 41.74 ▼1.52 |
SoulMatch /wp-admin/options-general.php?page=soulmatch-settings | 870 | 2.05 | 27.02 | 26.18 |
Uninstaller [IO: ✅] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/soulmatch/soulmatch.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
3 plugin tags: equal height, match height, equalize height
soulmatch/soulmatch.php Passed 13 tests
The entry point to "SoulMatch" version 0.1.2 is a PHP file that has certain tags in its header comment area
41 characters long description:
Equalize the heights of grouped elements.
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
No dangerous file extensions were detected464 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 24 | 25 | 407 |
JavaScript | 3 | 3 | 9 | 50 |
CSS | 2 | 2 | 2 | 7 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 17.50 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 32.00 |
Average method complexity | 2.57 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 21 | |
▷ Static methods | 6 | 28.57% |
▷ Public methods | 12 | 57.14% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 9 | 42.86% |
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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 PNG file occupies 0.05MB with 0.03MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 50.64KB | 20.37KB | ▼ 59.77% |