Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.03MB] [CPU: ▼5.10ms] Passed 4 tests
This is a short check of server-side resources used by SF Archiver
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 40.25 ▲0.10 |
Dashboard /wp-admin | 3.34 ▲0.04 | 48.54 ▼4.02 |
Posts /wp-admin/edit.php | 3.39 ▲0.04 | 46.40 ▼1.63 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 93.26 ▼9.81 |
Media Library /wp-admin/upload.php | 3.26 ▲0.04 | 34.19 ▼4.92 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 8 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
sfar_version |
Browser metrics Passed 4 tests
SF Archiver: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.31 ▼0.05 | 1.67 ▲0.00 | 46.16 ▲5.86 |
Dashboard /wp-admin | 2,198 ▲24 | 5.63 ▲0.08 | 88.66 ▲1.21 | 37.41 ▼6.72 |
Posts /wp-admin/edit.php | 2,110 ▲10 | 2.06 ▲0.12 | 36.72 ▼4.13 | 30.39 ▼8.23 |
Add New Post /wp-admin/post-new.php | 1,529 ▼6 | 23.20 ▲5.12 | 614.75 ▼9.57 | 60.61 ▼2.11 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.19 ▼0.02 | 102.57 ▼6.91 | 44.18 ▲0.11 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 75% from 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)
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 4× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/sf-archiver/inc/migrate.php
- > /wp-content/plugins/sf-archiver/sf-archiver.php
- > /wp-content/plugins/sf-archiver/inc/frontend.php
- > /wp-content/plugins/sf-archiver/inc/admin.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% 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
These attributes need to be fixed:
- Screenshots: Screenshot #3 (A link to the post type archive page in the administration area.) image required
- Screenshots: Add a description for screenshot #2 in sf-archiver/assets to your readme.txt
sf-archiver/sf-archiver.php Passed 13 tests
The primary PHP file in "SF Archiver" version 3.0.2 is used by WordPress to initiate all plugin functionality
81 characters long description:
Add some small and useful utilities for managing your Custom Post Types archives.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin294 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 129 | 65 | 271 |
PO File | 1 | 3 | 4 | 23 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.70 |
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 | 20 | |
▷ Named functions | 20 | 100.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
PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected