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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼4.60ms] Passed 4 tests
Analyzing server-side resources used by AlT Stick It
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 38.19 ▼7.16 |
Dashboard /wp-admin | 3.31 ▲0.01 | 50.41 ▼2.40 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 50.21 ▼2.93 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 98.75 ▼5.92 |
Media Library /wp-admin/upload.php | 3.23 ▲0.01 | 35.47 ▼1.88 |
AlT Stick it /wp-admin/options-general.php?page=alt-stick-it | 3.26 | 32.57 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
AlT Stick It: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,849 ▲88 | 14.48 ▲0.41 | 2.61 ▲0.84 | 40.83 ▼0.85 |
Dashboard /wp-admin | 2,225 ▲22 | 4.86 ▼1.00 | 107.99 ▼0.25 | 40.30 ▼4.82 |
Posts /wp-admin/edit.php | 2,104 ▲1 | 1.99 ▼0.07 | 35.12 ▼2.30 | 33.96 ▲0.14 |
Add New Post /wp-admin/post-new.php | 1,557 ▲26 | 23.14 ▼0.07 | 637.64 ▲17.97 | 51.25 ▼3.96 |
Media Library /wp-admin/upload.php | 1,398 ▼2 | 4.32 ▲0.09 | 97.88 ▼8.34 | 44.25 ▲0.59 |
AlT Stick it /wp-admin/options-general.php?page=alt-stick-it | 891 | 2.01 | 22.85 | 29.40 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
The following issues need your attention
- 3× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/who-stick-it/includes/functions.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/who-stick-it/template/tblbords.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/who-stick-it/who-stick-it.php:17
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
4 plugin tags: scroll, menu, stiky, stiky menu
who-stick-it/who-stick-it.php Passed 13 tests
The main file in "AlT Stick It" v. 2.1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
55 characters long description:
Make a sticky menu effect of any part on your website !
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin354 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 26 | 9 | 208 |
JavaScript | 1 | 11 | 12 | 106 |
PO File | 1 | 10 | 12 | 40 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 9.00 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 9.00 |
Average method complexity | 2.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 8 | |
▷ Static methods | 8 | 100.00% |
▷ Public methods | 7 | 87.50% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 12.50% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
PNG images were not found in this plugin