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
Installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼4.59ms] Passed 4 tests
A check of server-side resources used by 4blit
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 38.24 ▼2.76 |
Dashboard /wp-admin | 3.33 ▲0.03 | 45.67 ▼0.82 |
Posts /wp-admin/edit.php | 3.30 ▼0.06 | 40.93 ▼5.50 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.05 | 92.18 ▼9.26 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 33.22 ▼0.20 |
4blit Options /wp-admin/options-general.php?page=wp_4blit_options | 3.22 | 28.46 |
Server storage [IO: ▲0.15MB] [DB: ▲0.07MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 18 new files
Database: no new tables, 8 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
wp_4blit_api_key |
widget_recent-posts |
wp_4blit_default_publish |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for 4blit
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲79 | 13.24 ▼1.13 | 4.71 ▲2.98 | 44.19 ▼4.23 |
Dashboard /wp-admin | 2,217 ▲32 | 5.93 ▲0.03 | 101.11 ▲3.41 | 41.47 ▼1.25 |
Posts /wp-admin/edit.php | 2,119 ▲27 | 2.21 ▲0.23 | 40.11 ▼4.00 | 35.58 ▲0.66 |
Add New Post /wp-admin/post-new.php | 6,471 ▲4,928 | 23.30 ▲0.12 | 915.29 ▲249.78 | 55.72 ▲1.38 |
Media Library /wp-admin/upload.php | 1,402 ▲14 | 4.24 ▼0.06 | 98.87 ▲1.98 | 43.63 ▼1.29 |
4blit Options /wp-admin/options-general.php?page=wp_4blit_options | 910 | 1.92 | 25.62 | 27.86 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 50% 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 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following items
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/4blit/4blit-admin.php:3
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please fix the following browser errors
- > GET request to /wp-admin/options-general.php?page=wp_4blit_options
- > Network (severe)
wp-content/plugins/4blit/css/wp-4blit.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 is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
7 plugin tags: feed, chat, channel, blog, telegram...
4blit/4blit.php 92% from 13 tests
The main PHP script in "4blit" version 0.1.0 is automatically included on every request by WordPress
The following require your attention:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
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 detected2,607 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 4 | 197 | 594 | 1,421 |
PHP | 8 | 222 | 336 | 956 |
CSS | 2 | 34 | 1 | 146 |
PO File | 1 | 29 | 40 | 84 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 10.60 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 29.00 |
Average method complexity | 2.23 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 40 | |
▷ Static methods | 38 | 95.00% |
▷ Public methods | 35 | 87.50% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 12.50% |
Functions | 23 | |
▷ Named functions | 22 | 95.65% |
▷ Anonymous functions | 1 | 4.35% |
Constants | 39 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 39 | 100.00% |
▷ Public constants | 39 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin