Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
You still need to fix the following installer errors
- Install procedure had errors
- > User deprecated in wp-includes/functions.php+5737
Function wp_get_recent_posts was called with an argument that is deprecated since version 3.1.0! Passing an integer number of posts is deprecated. Pass an array of arguments instead.
Server metrics [RAM: ▼0.69MB] [CPU: ▼14.82ms] Passed 4 tests
This is a short check of server-side resources used by Auto Sticky Post
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 39.57 ▼1.07 |
Dashboard /wp-admin | 3.32 ▲0.02 | 45.69 ▼7.78 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 49.20 ▲3.88 |
Add New Post /wp-admin/post-new.php | 3.11 ▼2.78 | 37.77 ▼49.46 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 34.76 ▼0.98 |
Auto Sticky Post /wp-admin/options-general.php?page=auto-sticky-post | 3.21 | 30.60 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 9 new files
Database: no new tables, 7 new options
New WordPress options |
---|
jlasp_number_post |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Auto Sticky Post
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,831 ▲96 | 13.19 ▼1.04 | 1.75 ▼0.17 | 41.45 ▼15.23 |
Dashboard /wp-admin | 2,213 ▲25 | 4.85 ▼0.02 | 101.01 ▼4.54 | 40.26 ▼4.21 |
Posts /wp-admin/edit.php | 2,104 ▲15 | 2.01 ▼0.00 | 38.42 ▼3.42 | 31.49 ▼4.32 |
Add New Post /wp-admin/post-new.php | 1,548 ▲13 | 18.30 ▼4.82 | 635.02 ▲25.46 | 53.88 ▼13.77 |
Media Library /wp-admin/upload.php | 1,395 ▲7 | 4.13 ▼0.10 | 98.02 ▼4.85 | 45.30 ▲2.79 |
Auto Sticky Post /wp-admin/options-general.php?page=auto-sticky-post | 794 | 2.03 | 25.06 | 27.01 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
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)
Good news, no errors were detected
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
Please take a closer look at the following
- 4× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/auto-sticky-post/inc/functions.php
- > /wp-content/plugins/auto-sticky-post/inc/admin/admin.php
- > /wp-content/plugins/auto-sticky-post/inc/admin/options.php
- > /wp-content/plugins/auto-sticky-post/auto-sticky-post.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
4 plugin tags: stick post, stick post homepage, auto stick post, sticky posts
auto-sticky-post/auto-sticky-post.php 92% from 13 tests
The main PHP file in "Auto Sticky Post" ver. 1.1.2 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin170 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 47 | 102 | 139 |
PO File | 1 | 6 | 6 | 30 |
HTML | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
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 | 12 | |
▷ Named functions | 12 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
PNG images were not found in this plugin