Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼12.48ms] Passed 4 tests
Analyzing server-side resources used by Advanced Sticky Header
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.04 | 47.54 ▲3.29 |
Dashboard /wp-admin | 3.33 ▲0.03 | 55.99 ▼4.91 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 53.03 ▼2.17 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 91.34 ▼45.56 |
Media Library /wp-admin/upload.php | 3.25 ▲0.03 | 43.55 ▲2.72 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] 67% from 3 tests
Input-output and database impact of this plugin
These are issues you should consider
- You have illegally modified 1 file (4.00KB) outside of "wp-content/plugins/advanced-sticky-header/" and "wp-content/uploads/"
- (new file) wp-content/mgd_mirror/mgd_maximinodotpy-gitdown-test-repository
Filesystem: 6 new files
Database: no new tables, 9 new options
New WordPress options |
---|
widget_theysaidso_widget |
ash_wp_header_animation_type |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
ash_wp_header_full_width |
ash_wp_header_animate |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Advanced Sticky Header
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,944 ▲183 | 13.58 ▼1.04 | 6.94 ▲5.12 | 44.02 ▲3.95 |
Dashboard /wp-admin | 2,242 ▲42 | 4.85 ▼1.01 | 106.46 ▼5.09 | 46.87 ▲3.58 |
Posts /wp-admin/edit.php | 2,118 ▲15 | 2.06 ▲0.00 | 35.61 ▲0.19 | 32.84 ▼3.86 |
Add New Post /wp-admin/post-new.php | 1,555 ▲10 | 23.14 ▲0.03 | 671.46 ▼22.88 | 55.74 ▲3.87 |
Media Library /wp-admin/upload.php | 1,415 ▲18 | 4.25 ▲0.11 | 107.45 ▼14.00 | 44.55 ▼6.41 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% 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
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 register_activation_hook() in wp-content/plugins/advanced-sticky-header/advanced-sticky-header.php:15
- > 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 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need to be fixed:
- Plugin Name: You should set the name of your plugin on the first line (
=== advanced-sticky-header ===
)
advanced-sticky-header/advanced-sticky-header.php Passed 13 tests
The principal PHP file in "Advanced Sticky Header" v. 1.0 is loaded by WordPress automatically on each request
40 characters long description:
Highly configurable sticky header plugin
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected322 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 26 | 10 | 156 |
PHP | 2 | 50 | 15 | 133 |
CSS | 1 | 4 | 0 | 33 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.10 |
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 | 7 | |
▷ Named functions | 7 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin