Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.15MB] [CPU: ▼0.57ms] Passed 4 tests
Server-side resources used by SC filechecker
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.15 | 35.44 ▼1.53 |
Dashboard /wp-admin | 3.45 ▲0.15 | 43.85 ▼0.97 |
Posts /wp-admin/edit.php | 3.57 ▲0.21 | 44.49 ▼0.43 |
Add New Post /wp-admin/post-new.php | 6.03 ▲0.15 | 91.98 ▲0.65 |
Media Library /wp-admin/upload.php | 3.38 ▲0.15 | 39.31 ▲4.79 |
Manage backups /wp-admin/admin.php?page=SC_backup | 3.37 | 34.78 |
Settings /wp-admin/admin.php?page=SC_settings | 3.35 | 31.04 |
SC filechecker /wp-admin/admin.php?page=SC_main | 3.35 | 30.60 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 27 new files
Database: no new tables, 12 new options
New WordPress options |
---|
db_upgraded |
filechecker_extensions_to_scan |
filechecker_email |
widget_theysaidso_widget |
can_compress_scripts |
filechecker_scan_dir |
filechecker_dirs_to_exclude |
theysaidso_admin_options |
filechecker_files_to_exclude |
filechecker_version |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for SC filechecker
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,820 ▲59 | 14.25 ▼0.31 | 1.58 ▼0.13 | 37.75 ▼7.15 |
Dashboard /wp-admin | 2,223 ▲45 | 5.55 ▼0.18 | 86.17 ▼14.84 | 40.33 ▼3.69 |
Posts /wp-admin/edit.php | 2,131 ▲31 | 1.99 ▲0.03 | 36.65 ▼0.87 | 37.05 ▼0.88 |
Add New Post /wp-admin/post-new.php | 1,551 ▲25 | 23.27 ▲0.18 | 646.85 ▼47.72 | 46.13 ▼13.02 |
Media Library /wp-admin/upload.php | 1,434 ▲34 | 4.24 ▲0.03 | 107.45 ▲1.68 | 47.64 ▼0.46 |
Manage backups /wp-admin/admin.php?page=SC_backup | 868 | 2.01 | 24.76 | 27.24 |
Settings /wp-admin/admin.php?page=SC_settings | 930 | 2.16 | 24.14 | 47.64 |
SC filechecker /wp-admin/admin.php?page=SC_main | 888 | 2.01 | 22.26 | 26.26 |
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
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
Smoke tests Passed 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 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 93% 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
Please fix the following attributes:
- Plugin Name: Please specify the plugin name on the first line (
=== wp-file-checker ===
)
wp-file-checker/sc_filechecker.php 92% from 13 tests
This is the main PHP file of "SC filechecker" version 0.6, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please make the necessary changes and fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("wp-file-checker.php" instead of "sc_filechecker.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin1,098 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 362 | 279 | 1,090 |
CSS | 1 | 0 | 0 | 8 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 16.33 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 34.00 |
Average method complexity | 4.68 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 25 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 25 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 8 | |
▷ Named functions | 8 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 PNG file occupies 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/mail_banner.png | 5.94KB | 3.01KB | ▼ 49.35% |