Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▼0.02MB] [CPU: ▼295.68ms] Passed 4 tests
Analyzing server-side resources used by Admin Sticky Sidebar
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.01 | 53.96 ▲1.17 |
Dashboard /wp-admin | 3.41 ▲0.01 | 31.82 ▼2.75 |
Posts /wp-admin/edit.php | 3.65 ▲0.01 | 36.30 ▼2.23 |
Add New Post /wp-admin/post-new.php | 6.88 ▼0.09 | 92.37 ▼1,176.81 |
Media Library /wp-admin/upload.php | 3.30 ▲0.00 | 24.21 ▼0.92 |
Server storage [IO: ▲0.02MB] [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, no new options
Browser metrics Passed 4 tests
Admin Sticky Sidebar: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,763 ▲9 | 16.17 ▲0.48 | 5.46 ▼1.07 | 2.38 ▼0.33 |
Dashboard /wp-admin | 2,895 ▲37 | 6.09 ▼0.05 | 116.39 ▼15.37 | 157.00 ▼5.87 |
Posts /wp-admin/edit.php | 2,694 ▼0 | 3.24 ▲0.00 | 64.41 ▼0.46 | 140.40 ▼0.90 |
Add New Post /wp-admin/post-new.php | 1,661 ▼112 | 16.20 ▼5.48 | 403.53 ▼56.34 | 158.27 ▲1.93 |
Media Library /wp-admin/upload.php | 1,701 ▲3 | 5.54 ▲0.06 | 136.01 ▼4.58 | 183.91 ▼4.92 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
This plugin's uninstaller ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/admin-sticky-sidebar/admin-sticky-sidebar.php:17
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
- Tags: Please reduce the number of tags, currently 15 tag instead of maximum 10
admin-sticky-sidebar/admin-sticky-sidebar.php Passed 13 tests
This is the main PHP file of "Admin Sticky Sidebar" version 1.3.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
116 characters long description:
Makes the sidebar follow you when you scroll and remembers scroll position on update. For more info, see the readme.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
No dangerous file extensions were detected77 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 1 | 15 | 18 | 39 |
CSS | 1 | 8 | 1 | 26 |
PHP | 1 | 5 | 12 | 12 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
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 | 2 | |
▷ Named functions | 2 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin