Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.26MB] [CPU: ▼14.81ms] Passed 4 tests
An overview of server-side resources used by Soundst Smart Links
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 35.13 ▼7.86 |
Dashboard /wp-admin | 3.38 ▲0.07 | 49.81 ▲0.15 |
Posts /wp-admin/edit.php | 3.43 ▲0.07 | 46.18 ▼0.03 |
Add New Post /wp-admin/post-new.php | 4.67 ▼1.22 | 39.67 ▼51.48 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 34.39 ▲1.02 |
Soundst Smart Links /wp-admin/options-general.php?page=smart_links_submenu_page | 3.27 | 35.41 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 2 new files
Database: 1 new table, 8 new options
New tables |
---|
wp_smartlinks |
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
jal_db_version |
smart_links_submenu_page |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Soundst Smart Links
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,801 ▲66 | 13.19 ▼1.06 | 1.86 ▼0.02 | 43.60 ▼5.07 |
Dashboard /wp-admin | 2,210 ▲22 | 4.86 ▼1.01 | 99.59 ▼14.01 | 43.17 ▼4.13 |
Posts /wp-admin/edit.php | 2,093 ▲1 | 2.03 ▲0.03 | 34.59 ▼17.44 | 34.24 ▼12.60 |
Add New Post /wp-admin/post-new.php | 1,548 ▲15 | 18.38 ▼4.83 | 602.03 ▼57.91 | 57.71 ▼0.64 |
Media Library /wp-admin/upload.php | 1,392 ▲13 | 4.17 ▼0.03 | 93.83 ▼6.39 | 42.59 ▼4.18 |
Soundst Smart Links /wp-admin/options-general.php?page=smart_links_submenu_page | 949 | 2.03 | 25.91 | 28.60 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% 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 does not fully uninstall, leaving 1 table in the database
- wp_smartlinks
- This plugin does not fully uninstall, leaving 8 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- jal_db_version
- smart_links_submenu_page
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/soundst-smart-links/smart_links.php:40
- > 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)
Everything seems fine, but this is not an exhaustive test
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: Please fix this invalid URI: "None"
soundst-smart-links/smart_links.php 92% from 13 tests
The entry point to "Soundst Smart Links" version 0.0.8 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("soundst-smart-links.php" instead of "smart_links.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin427 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 75 | 32 | 427 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
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 | 8 | |
▷ Named functions | 8 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There are no PNG files in this plugin