Benchmarks
Plugin footprint Passed 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.00MB] [CPU: ▼138.66ms] Passed 4 tests
Server-side resources used by Follow Me Sidebar
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.84 ▲0.12 | 34.59 ▲14.14 |
Dashboard /wp-admin | 3.07 ▲0.01 | 44.05 ▲7.16 |
Posts /wp-admin/edit.php | 3.12 ▲0.01 | 42.79 ▲4.94 |
Add New Post /wp-admin/post-new.php | 5.42 ▼0.01 | 87.79 ▼564.90 |
Media Library /wp-admin/upload.php | 3.01 ▲0.00 | 32.06 ▼1.83 |
Server storage [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 3 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for Follow Me Sidebar
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,705 ▲123 | 15.93 ▲0.32 | 8.22 ▲0.86 | 51.15 ▲1.88 |
Dashboard /wp-admin | 2,975 ▲44 | 5.95 ▼0.24 | 139.64 ▼16.01 | 116.98 ▲2.30 |
Posts /wp-admin/edit.php | 2,741 ▲2 | 2.72 ▼0.00 | 62.33 ▲1.34 | 91.47 ▼0.84 |
Add New Post /wp-admin/post-new.php | 1,674 ▼202 | 18.86 ▼0.37 | 370.01 ▼17.60 | 112.24 ▲2.01 |
Media Library /wp-admin/upload.php | 1,812 ▲5 | 5.05 ▲0.02 | 141.59 ▼6.22 | 116.23 ▼3.57 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The plugin uninstalled successfully, without leaving any zombie files or tables
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)
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/follow-me-sidebar/follow-me-sidebar.php:31
- > 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 Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
4 plugin tags: admin sidebar, javascript, jquery, admin
follow-me-sidebar/follow-me-sidebar.php Passed 13 tests
The principal PHP file in "Follow Me Sidebar" v. 1.0 is loaded by WordPress automatically on each request
101 characters long description:
Make the WordPress admin sidebar follow you as you scroll down the page, great for long edit screens!
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
Success! There were no dangerous files found in this plugin66 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 1 | 14 | 19 | 60 |
PHP | 1 | 4 | 21 | 6 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.00 |
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 | 1 | |
▷ Named functions | 1 | 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
PNG images were not found in this plugin