Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
You still need to fix the following installer errors
- Install procedure had errors
- > Error in wp-content/plugins/offsite-content-storage-via-smartfile/admin/fseg-admin.php+216
Uncaught ArgumentCountError: Too few arguments to function Fseg_Admin::get_settings(), 0 passed in wp-content/plugins/offsite-content-storage-via-smartfile/admin/fseg-admin.php on line 166 and exactly 1 expected in wp-content/plugins/offsite-content-storage-via-smartfile/admin/fseg-admin.php:216
Stack trace:
#0 wp-content/plugins/offsite-content-storage-via-smartfile/admin/fseg-admin.php(166): Fseg_Admin->get_settings()
#1 wp-content/plugins/offsite-content-storage-via-smartfile/admin/fseg-admin.php(40): Fseg_Admin->update_schema()
#2 wp-content/plugins/offsite-content-storage-via-smartfile/smartfile-storage-tank.php(369): Fseg_Admin->__construct()
#3 wp-admin/includes/plugin.php(2318): include_once('/var/www/wordpr...')
#4 wp-admin/includes/plugin.php(663): plugin_sandbox_scrape()
Server metrics [RAM: ▲0.00MB] [CPU: ▼0.39ms] Passed 4 tests
An overview of server-side resources used by Offsite Content Storage via Smartfile
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 46.07 ▲5.23 |
Dashboard /wp-admin | 3.31 ▲0.00 | 44.96 ▼1.07 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 44.11 ▼4.11 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 97.66 ▲4.21 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.18 ▼0.58 |
Server storage [IO: ▲2.70MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 91 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Offsite Content Storage via Smartfile
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.23 ▼1.15 | 5.07 ▲3.49 | 43.28 ▲5.67 |
Dashboard /wp-admin | 2,209 ▲21 | 4.85 ▼1.04 | 100.02 ▼3.99 | 41.30 ▼4.08 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 2.00 ▲0.01 | 32.54 ▼4.18 | 33.39 ▼2.90 |
Add New Post /wp-admin/post-new.php | 1,533 ▼0 | 23.11 ▼0.21 | 613.61 ▼40.66 | 58.28 ▲9.40 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.18 ▲0.07 | 94.32 ▼24.81 | 43.93 ▼4.06 |
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
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 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
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Please fix the following attributes:
- Tags: Please delete some tags, you are using 14 tag instead of maximum 10
offsite-content-storage-via-smartfile/smartfile-storage-tank.php 85% from 13 tests
"Offsite Content Storage via Smartfile" version 1.5's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("offsite-content-storage-via-smartfile.php" instead of "smartfile-storage-tank.php")
- Description: The description should be shorter than 140 characters (currently 311 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected26,384 lines of code in 77 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 32 | 3,445 | 17,475 | 16,904 |
CSS | 3 | 12 | 17 | 7,339 |
PHP | 4 | 128 | 74 | 627 |
HTML | 19 | 18 | 0 | 498 |
JSON | 13 | 0 | 0 | 434 |
Markdown | 5 | 122 | 0 | 294 |
SVG | 1 | 0 | 0 | 288 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.17 |
Average class complexity | 24.50 |
▷ Minimum class complexity | 21.00 |
▷ Maximum class complexity | 28.00 |
Average method complexity | 2.24 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 38 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 38 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 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
No PNG files were detected