Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.00MB] [CPU: ▼9.85ms] Passed 4 tests
A check of server-side resources used by Tag Sticky Post
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 33.44 ▼4.35 |
Dashboard /wp-admin | 3.31 ▼0.03 | 42.61 ▼15.87 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 45.57 ▲0.60 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.06 | 77.20 ▼19.79 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 34.43 ▲2.73 |
Server storage [IO: ▲0.47MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 17 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Tag Sticky Post
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.19 ▼1.08 | 1.63 ▼0.05 | 42.15 ▲2.35 |
Dashboard /wp-admin | 2,203 ▲15 | 5.86 ▼0.00 | 94.99 ▼14.23 | 41.50 ▼1.64 |
Posts /wp-admin/edit.php | 2,094 ▲5 | 2.04 ▲0.02 | 40.35 ▲4.94 | 34.32 ▼1.91 |
Add New Post /wp-admin/post-new.php | 6,226 ▲4,707 | 25.75 ▲2.41 | 865.99 ▲240.52 | 58.70 ▲6.07 |
Media Library /wp-admin/upload.php | 1,391 ▲3 | 4.18 ▼0.02 | 93.92 ▼11.17 | 43.71 ▲0.58 |
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
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- widget_recent-posts
Smoke tests Passed 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)
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: Add images for these screenshots: #1 (A post marked as a 'Tag Sticky' displaying at the top of an archive page), #2 (The new menu item for selecting which in which tag to stick the given post), #3 (Disabled options show that a tag already has a sticky post), #4 (The post dashboard indicating which entries are tag sticky posts)
tag-sticky-post/tag-sticky-post.php Passed 13 tests
"Tag Sticky Post" version 2.4.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
115 characters long description:
Mark a post to be placed at the top of a specified category archive. It's sticky posts specifically for categories.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected240 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 106 | 174 | 175 |
JavaScript | 4 | 9 | 4 | 24 |
PO File | 1 | 3 | 3 | 22 |
LESS | 2 | 7 | 10 | 17 |
CSS | 2 | 0 | 0 | 2 |
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.50 |
Average class complexity | 34.00 |
▷ Minimum class complexity | 34.00 |
▷ Maximum class complexity | 34.00 |
Average method complexity | 3.06 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.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 | 16 | |
▷ Static methods | 1 | 6.25% |
▷ Public methods | 10 | 62.50% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 37.50% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
4 PNG files occupy 0.45MB with 0.31MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-4.png | 147.19KB | 49.24KB | ▼ 66.55% |
screenshot-1.png | 222.36KB | 58.24KB | ▼ 73.81% |
screenshot-3.png | 63.45KB | 20.50KB | ▼ 67.69% |
screenshot-2.png | 25.76KB | 7.06KB | ▼ 72.61% |