Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.31MB] [CPU: ▼2.91ms] Passed 4 tests
A check of server-side resources used by TootPress
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.92 ▲0.46 | 41.62 ▲2.32 |
Dashboard /wp-admin | 3.64 ▲0.34 | 47.93 ▼1.33 |
Posts /wp-admin/edit.php | 3.70 ▲0.34 | 49.10 ▲1.40 |
Add New Post /wp-admin/post-new.php | 6.16 ▲0.27 | 81.50 ▼12.41 |
Media Library /wp-admin/upload.php | 3.50 ▲0.27 | 34.18 ▲0.70 |
Toots /wp-admin/tools.php?page=tootpress-tools-menu | 3.48 | 32.26 |
TootPress /wp-admin/options-general.php?page=tootpress-options | 3.47 | 33.19 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 29 new files
Database: 2 new tables, 26 new options
New tables |
---|
wp_tootpress_media |
wp_tootpress_toots |
New WordPress options |
---|
widget_theysaidso_widget |
tootpress_latest_toot |
tootpress_cron_newtoots_status |
tootpress_mastodon_amount_of_requests |
tootpress_database_version |
tootpress_css |
tootpress_amount_toots_page |
theysaidso_admin_options |
tootpress_active |
tootpress_navigation |
... |
Browser metrics Passed 4 tests
A check of browser resources used by TootPress
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,822 ▲61 | 14.28 ▲0.01 | 1.97 ▲0.36 | 41.69 ▼2.10 |
Dashboard /wp-admin | 2,203 ▲29 | 5.61 ▲0.03 | 90.79 ▼15.90 | 37.16 ▼9.57 |
Posts /wp-admin/edit.php | 2,105 ▲8 | 2.01 ▲0.05 | 40.02 ▲2.82 | 34.54 ▲3.05 |
Add New Post /wp-admin/post-new.php | 1,532 ▲6 | 23.46 ▲0.21 | 588.34 ▼78.75 | 57.08 ▲3.54 |
Media Library /wp-admin/upload.php | 1,408 ▲8 | 4.14 ▼0.09 | 93.77 ▼15.25 | 42.66 ▼1.05 |
Toots /wp-admin/tools.php?page=tootpress-tools-menu | 896 | 1.99 | 21.68 | 34.46 |
TootPress /wp-admin/options-general.php?page=tootpress-options | 892 | 2.01 | 22.64 | 29.36 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 7 options
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- mathilda_database_version
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There are user-side issues you should fix
- > GET request to /wp-admin/tools.php?page=tootpress-tools-menu
- > Network (severe)
wp-content/plugins/tootpress_tools.css?ver=6.3.1 - Failed to load resource: the server responded with a status of 404 (Not Found)
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
5 plugin tags: mastodon, fediverse, blog, microblogging, toots
tootpress/tootpress.php 92% from 13 tests
Analyzing the main PHP file in "TootPress" version 0.2.1
You should first fix the following items:
- Domain Path: The domain path folder does not exist ("/languages")
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
No dangerous file extensions were detected1,792 lines of code in 27 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 25 | 818 | 1,278 | 1,743 |
CSS | 2 | 14 | 6 | 49 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
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 | 135 | |
▷ Named functions | 135 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
tootpress_toot.png | 1.23KB | 1.02KB | ▼ 17.00% |