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.03MB] [CPU: ▼4.26ms] Passed 4 tests
An overview of server-side resources used by OPML Importer
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 37.02 ▼5.06 |
Dashboard /wp-admin | 3.33 ▲0.03 | 46.64 ▼6.01 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 46.30 ▲4.43 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 80.49 ▼3.64 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 33.73 ▼2.31 |
Server storage [IO: ▲0.01MB] [DB: ▲0.61MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
OPML Importer: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲29 | 14.48 ▼0.27 | 1.64 ▼0.46 | 37.58 ▼6.64 |
Dashboard /wp-admin | 2,200 ▲12 | 5.81 ▲0.92 | 106.60 ▼2.33 | 37.21 ▲1.28 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 2.05 ▼0.00 | 39.20 ▲0.19 | 34.13 ▼1.43 |
Add New Post /wp-admin/post-new.php | 1,535 ▲5 | 23.36 ▲4.94 | 649.84 ▲23.62 | 63.75 ▲4.27 |
Media Library /wp-admin/upload.php | 1,385 ▼6 | 4.32 ▲0.07 | 97.57 ▼2.97 | 44.45 ▼0.65 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.61MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
- Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line (
=== opml-importer ===
)
opml-importer/opml-importer.php Passed 13 tests
The primary PHP file in "OPML Importer" version 0.3.2 is used by WordPress to initiate all plugin functionality
28 characters long description:
Import links in OPML format.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected190 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 37 | 24 | 190 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.49 |
Average class complexity | 30.00 |
▷ Minimum class complexity | 30.00 |
▷ Maximum class complexity | 30.00 |
Average method complexity | 15.50 |
▷ Minimum method complexity | 7.00 |
▷ Maximum method complexity | 24.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 2 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 2 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 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
There are no PNG files in this plugin