Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼6.55ms] Passed 4 tests
An overview of server-side resources used by Show External Links
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.11 | 34.86 ▼5.07 |
Dashboard /wp-admin | 3.39 ▲0.04 | 43.06 ▼17.84 |
Posts /wp-admin/edit.php | 3.50 ▲0.14 | 46.12 ▼2.19 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 89.23 ▼1.10 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 34.31 ▲1.58 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 26 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Show External Links
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,833 ▲87 | 13.57 ▼0.87 | 2.02 ▲0.12 | 64.35 ▲20.23 |
Dashboard /wp-admin | 2,222 ▲34 | 5.89 ▲1.04 | 106.72 ▼12.66 | 42.67 ▼5.16 |
Posts /wp-admin/edit.php | 2,102 ▲13 | 2.06 ▲0.05 | 39.49 ▲1.91 | 35.11 ▼0.79 |
Add New Post /wp-admin/post-new.php | 1,549 ▲16 | 23.48 ▲0.40 | 624.62 ▼8.53 | 52.10 ▲1.60 |
Media Library /wp-admin/upload.php | 1,404 ▲19 | 4.22 ▲0.03 | 96.08 ▼5.08 | 42.25 ▼3.88 |
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 were found after uninstall: 6 options
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means 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
Almost there! Just fix the following items
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_multisite() in wp-content/plugins/show-external-links/public/partials/show-external-links-public-popup.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/show-external-links/admin/partials/show-external-links-admin-form.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
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
2 plugin tags: links, external
show-external-links/show-external-links.php Passed 13 tests
The main file in "Show External Links" v. 1.0.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
97 characters long description:
With the plugin Show External Links easy to find all the external links on the pages of the site.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected606 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 116 | 468 | 320 |
CSS | 2 | 35 | 29 | 240 |
PO File | 1 | 11 | 16 | 40 |
JavaScript | 2 | 4 | 54 | 6 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 3.44 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 12.00 |
Average method complexity | 1.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 34 | |
▷ Static methods | 2 | 5.88% |
▷ Public methods | 23 | 67.65% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 11 | 32.35% |
Functions | 6 | |
▷ Named functions | 3 | 50.00% |
▷ Anonymous functions | 3 | 50.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin