Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.03MB] [CPU: ▼5.55ms] Passed 4 tests
This is a short check of server-side resources used by Stylish Internal Links
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 39.75 ▼3.05 |
Dashboard /wp-admin | 3.34 ▲0.03 | 51.39 ▲5.73 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 46.41 ▼4.16 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 83.31 ▼14.40 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 34.58 ▼0.57 |
Stylish Internal Link /wp-admin/options-general.php?page=stylnk_mskvr_topt | 3.23 | 29.98 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 11 new options
New WordPress options |
---|
mlstl_link_icons |
widget_theysaidso_widget |
db_upgraded |
mlstl_background_color |
mlstl_subheading_color |
can_compress_scripts |
mlstl_textlink_color |
theysaidso_admin_options |
mlstl_border_color |
widget_recent-posts |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Stylish Internal Links
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲28 | 14.43 ▼0.16 | 1.68 ▼0.67 | 42.92 ▼2.34 |
Dashboard /wp-admin | 2,218 ▲41 | 5.80 ▲0.13 | 97.75 ▲9.62 | 42.42 ▲1.57 |
Posts /wp-admin/edit.php | 2,128 ▲28 | 2.29 ▲0.34 | 35.59 ▼1.40 | 32.73 ▼0.48 |
Add New Post /wp-admin/post-new.php | 1,552 ▲26 | 23.31 ▲0.06 | 665.59 ▲1.67 | 36.62 ▼14.06 |
Media Library /wp-admin/upload.php | 1,423 ▲23 | 4.44 ▲0.26 | 95.43 ▼12.34 | 41.72 ▼7.10 |
Stylish Internal Link /wp-admin/options-general.php?page=stylnk_mskvr_topt | 1,297 | 2.59 | 56.87 | 49.35 |
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
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
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
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_fields() in wp-content/plugins/stylish-internal-links/options.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/stylish-internal-links/stylish-internal-link.php:19
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
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
3 plugin tags: internal links, seo, seo links
stylish-internal-links/stylish-internal-link.php 92% from 13 tests
Analyzing the main PHP file in "Stylish Internal Links" version 1.9
You should first fix the following items:
- Main file name: Name the main plugin file the same as the plugin slug ("stylish-internal-links.php" instead of "stylish-internal-link.php")
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 plugin176 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 34 | 24 | 138 |
JavaScript | 2 | 8 | 11 | 38 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.07 |
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 | 13 | |
▷ Named functions | 13 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin