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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.07MB] [CPU: ▼3.13ms] Passed 4 tests
Server-side resources used by Sleek Author Box
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 44.96 ▲8.38 |
Dashboard /wp-admin | 3.39 ▲0.04 | 48.92 ▼10.10 |
Posts /wp-admin/edit.php | 3.50 ▲0.14 | 44.25 ▼3.50 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 90.17 ▲5.89 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 30.44 ▼4.82 |
Server storage [IO: ▲0.07MB] [DB: ▲0.07MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 69 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
sleek_author_box_settings |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Sleek Author Box
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲47 | 14.23 ▼0.38 | 1.96 ▲0.44 | 43.33 ▲1.77 |
Dashboard /wp-admin | 2,192 ▲12 | 5.61 ▲0.02 | 91.59 ▲4.13 | 43.56 ▲3.45 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.01 ▲0.00 | 36.09 ▼4.54 | 34.00 ▼7.18 |
Add New Post /wp-admin/post-new.php | 1,531 ▲3 | 23.28 ▲0.15 | 602.05 ▼94.54 | 58.62 ▲2.41 |
Media Library /wp-admin/upload.php | 1,400 ▼3 | 4.22 ▼0.08 | 98.08 ▼9.79 | 43.81 ▼4.20 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 3× PHP files output text when accessed directly:
- > /wp-content/plugins/sleek-author-box/frontend/templates/partials/end.php
- > /wp-content/plugins/sleek-author-box/frontend/templates/partials/start.php
- > /wp-content/plugins/sleek-author-box/frontend/templates/partials/social-links.php
- 4× PHP files trigger errors when accessed directly with GET requests:
- > PHP Warning
Invalid argument supplied for foreach() in wp-content/plugins/sleek-author-box/frontend/templates/partials/social-links.php on line 16
- > PHP Notice
Undefined variable: args in wp-content/plugins/sleek-author-box/frontend/templates/partials/social-links.php on line 16
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/sleek-author-box/skins/default/index.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function do_action() in wp-content/plugins/sleek-author-box/frontend/templates/sleek-author-box-templ.php:21
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
5 plugin tags: author widget, author social icons, responsive author box, author box, writer box
sleek-author-box/sleek-author-box.php 85% from 13 tests
The main file in "Sleek Author Box" v. 1.0.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Domain Path: The domain path should be prefixed with a forward slash character ("/languages")
- 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 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin710 lines of code in 62 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 123 | 498 | 519 |
CSS | 2 | 31 | 5 | 143 |
SVG | 46 | 0 | 0 | 48 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 9.20 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 11.00 |
Average method complexity | 2.78 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 1 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 23 | |
▷ Static methods | 5 | 21.74% |
▷ Public methods | 22 | 95.65% |
▷ Protected methods | 1 | 4.35% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 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
PNG images were not found in this plugin