Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Please fix the following installer errors
- Install procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/blogware-importer/blogware-importer.php+32
Methods with the same name as their class will not be constructors in a future version of PHP; BW_Import has a deprecated constructor
Server metrics [RAM: ▼1.89MB] [CPU: ▼51.86ms] Passed 4 tests
Server-side resources used by Blogware Importer
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.10 ▼1.36 | 3.95 ▼36.73 |
Dashboard /wp-admin | 2.12 ▼1.19 | 6.37 ▼41.17 |
Posts /wp-admin/edit.php | 2.12 ▼1.24 | 7.17 ▼40.24 |
Add New Post /wp-admin/post-new.php | 2.12 ▼3.77 | 6.30 ▼89.28 |
Media Library /wp-admin/upload.php | 2.12 ▼1.11 | 6.20 ▼26.18 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Blogware Importer
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.20 ▼1.18 | 1.54 ▼0.17 | 41.59 ▼1.62 |
Dashboard /wp-admin | 2,206 ▲24 | 5.82 ▲0.79 | 98.24 ▼6.21 | 39.87 ▼5.92 |
Posts /wp-admin/edit.php | 2,086 ▼3 | 2.04 ▲0.02 | 35.21 ▼1.45 | 30.47 ▼2.76 |
Add New Post /wp-admin/post-new.php | 1,533 ▼0 | 23.22 ▲0.20 | 579.77 ▼90.79 | 44.18 ▼20.25 |
Media Library /wp-admin/upload.php | 1,388 ▲3 | 4.18 ▲0.03 | 94.57 ▼4.42 | 39.96 ▼4.26 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- This plugin did not uninstall without warnings or errors
- > Deprecated in wp-content/plugins/blogware-importer/blogware-importer.php+32
Methods with the same name as their class will not be constructors in a future version of PHP; BW_Import has a deprecated constructor
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need to be fixed:
- Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line (
=== blogware-importer ===
) - Donate link: Please fix this invalid url: ""
blogware-importer/blogware-importer.php Passed 13 tests
This is the main PHP file of "Blogware Importer" version 0.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
27 characters long description:
Import posts from Blogware.
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
Success! There were no dangerous files found in this plugin175 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 37 | 21 | 175 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
Average class complexity | 19.00 |
▷ Minimum class complexity | 19.00 |
▷ Maximum class complexity | 19.00 |
Average method complexity | 3.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.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 | 8 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 8 | 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
PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected