Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
It is recommended to fix the following installer errors
- The plugin did not install without errors
- > Deprecated in wp-content/plugins/greymatter-importer/greymatter-importer.php+32
Methods with the same name as their class will not be constructors in a future version of PHP; GM_Import has a deprecated constructor
Server metrics [RAM: ▼1.83MB] [CPU: ▼48.50ms] Passed 4 tests
A check of server-side resources used by GreyMatter Importer
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.15 ▼1.31 | 6.11 ▼33.54 |
Dashboard /wp-admin | 2.17 ▼1.13 | 5.86 ▼42.35 |
Posts /wp-admin/edit.php | 2.17 ▼1.18 | 9.49 ▼36.55 |
Add New Post /wp-admin/post-new.php | 2.17 ▼3.71 | 7.01 ▼81.57 |
Media Library /wp-admin/upload.php | 2.17 ▼1.05 | 6.28 ▼27.48 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for GreyMatter Importer
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲3 | 14.72 ▲0.13 | 1.68 ▼0.06 | 46.54 ▲6.66 |
Dashboard /wp-admin | 2,195 ▲17 | 5.55 ▼0.16 | 82.93 ▼15.11 | 36.41 ▼8.51 |
Posts /wp-admin/edit.php | 2,100 ▲18 | 2.03 ▲0.01 | 39.78 ▲3.54 | 35.84 ▼3.06 |
Add New Post /wp-admin/post-new.php | 1,528 ▲2 | 23.37 ▲0.41 | 681.31 ▲15.30 | 52.67 ▲4.66 |
Media Library /wp-admin/upload.php | 1,397 ▲3 | 4.22 ▼0.01 | 94.88 ▼11.13 | 41.56 ▼7.98 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- The plugin did not uninstall gracefully
- > Deprecated in wp-content/plugins/greymatter-importer/greymatter-importer.php+32
Methods with the same name as their class will not be constructors in a future version of PHP; GM_Import has a deprecated constructor
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
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
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
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 just a short smoke test looking for browser issues
Everything seems fine on the user side
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
Attributes that need to be fixed:
- Donate link: Invalid URI ("")
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== greymatter-importer ===
)
greymatter-importer/greymatter-importer.php Passed 13 tests
The principal PHP file in "GreyMatter Importer" v. 0.2 is loaded by WordPress automatically on each request
96 characters long description:
Import posts, pages, comments, custom fields, categories, and tags from a WordPress export file.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin277 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 58 | 20 | 277 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 36.00 |
▷ Minimum class complexity | 36.00 |
▷ Maximum class complexity | 36.00 |
Average method complexity | 6.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 32.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 | 7 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 7 | 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 were not PNG files found in your plugin