Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.14MB] [CPU: ▼4.93ms] Passed 4 tests
Analyzing server-side resources used by Convert Data
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.13 | 37.22 ▼1.23 |
Dashboard /wp-admin | 3.44 ▲0.14 | 46.12 ▼2.83 |
Posts /wp-admin/edit.php | 3.49 ▲0.14 | 46.78 ▼0.91 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.14 | 83.08 ▼14.74 |
Media Library /wp-admin/upload.php | 3.37 ▲0.14 | 37.00 ▲0.80 |
Post IDs /wp-admin/admin.php?page=convert-data-output-post-ids | 3.33 | 29.83 |
Categories /wp-admin/admin.php?page=convert-data-output-categories | 3.33 | 29.13 |
Setting /wp-admin/admin.php?page=convert-data | 3.33 | 32.59 |
Posts /wp-admin/admin.php?page=convert-data-output-posts | 3.36 | 33.37 |
Server storage [IO: ▲0.20MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 10 new files
Database: no new tables, 19 new options
New WordPress options |
---|
convert_data_view_source_posts_ids |
convert_data_custom_field_3 |
convert_data_view_source_categories |
widget_recent-posts |
widget_recent-comments |
convert_data_custom_field_5 |
convert_data_view_just_parent |
convert_data_categories_exclude |
convert_data_view_source_posts_info |
widget_theysaidso_widget |
... |
Browser metrics Passed 4 tests
Convert Data: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,862 ▲127 | 14.37 ▼0.01 | 1.79 ▼0.33 | 41.09 ▼4.60 |
Dashboard /wp-admin | 2,240 ▲69 | 4.87 ▼0.01 | 108.68 ▲2.81 | 86.82 ▲36.20 |
Posts /wp-admin/edit.php | 2,132 ▲43 | 2.00 ▼0.02 | 35.97 ▼3.99 | 30.90 ▼2.19 |
Add New Post /wp-admin/post-new.php | 1,548 ▲28 | 23.07 ▼0.32 | 753.19 ▲144.22 | 60.33 ▲4.49 |
Media Library /wp-admin/upload.php | 1,425 ▲34 | 4.13 ▼0.05 | 102.64 ▲6.26 | 69.06 ▲26.92 |
Post IDs /wp-admin/admin.php?page=convert-data-output-post-ids | 836 | 2.02 | 24.33 | 25.09 |
Categories /wp-admin/admin.php?page=convert-data-output-categories | 837 | 2.02 | 25.22 | 24.25 |
Setting /wp-admin/admin.php?page=convert-data | 990 | 2.21 | 26.67 | 27.96 |
Posts /wp-admin/admin.php?page=convert-data-output-posts | 837 | 2.02 | 23.92 | 25.88 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- The uninstall procedure has failed, leaving 19 options in the database
- convert_data_categories_exclude
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- convert_data_custom_field_4
- convert_data_custom_field_5
- convert_data_view_just_parent
- convert_data_view_source_categories
- convert_data_view_source_posts_ids
- can_compress_scripts
- ...
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/convert-data/index.php:21
- > PHP Fatal error
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 is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: A description for screenshot #2 is required in convert-data/assets to your readme.txt
convert-data/index.php 85% from 13 tests
The primary PHP file in "Convert Data" version 2.1 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("convert-data.php" instead of "index.php")
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin731 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 81 | 17 | 652 |
PO File | 1 | 28 | 32 | 79 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
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 | 14 | |
▷ Named functions | 14 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
3 PNG files occupy 0.16MB with 0.06MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 35.38KB | 13.02KB | ▼ 63.20% |
images/convert_data.png | 0.70KB | 0.72KB | 0.00% |
screenshot-2.png | 126.14KB | 50.83KB | ▼ 59.70% |