Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼5.14ms] Passed 4 tests
A check of server-side resources used by pdf office documents converter
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 38.67 ▼6.36 |
Dashboard /wp-admin | 3.32 ▲0.02 | 51.62 ▼4.38 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 48.05 ▼9.40 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 96.95 ▲2.27 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 37.81 ▼0.43 |
Created Pages /wp-admin/admin.php?page=your-admin-sub-menu1 | 3.31 | 49.90 |
Server storage [IO: ▲1.10MB] [DB: ▲0.04MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 56 new files
Database: no new tables, 14 new options
New WordPress options |
---|
vvpdf_vvpdf_wp_plugin_page_insert_index_result |
vvpdf_vvpdf_wp_plugin_page_insert_wordtopdf_result |
vvpdf_vvpdf_wp_plugin_page_insert_pdftoexcel_result |
widget_theysaidso_widget |
vvpdf_vvpdf_wp_plugin_page_insert_ppttopdf_result |
widget_recent-posts |
vvpdf_vvpdf_wp_plugin_page_insert_pdftojpg_result |
vvpdf_vvpdf_wp_plugin_page_insert_exceltopdf_result |
can_compress_scripts |
vvpdf_vvpdf_wp_plugin_page_insert_pdftoppt_result |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for pdf office documents converter
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,971 ▲225 | 14.00 ▼0.38 | 21.83 ▲19.57 | 41.80 ▼1.31 |
Dashboard /wp-admin | 2,236 ▲51 | 5.87 ▲0.94 | 103.50 ▼9.39 | 41.20 ▼0.86 |
Posts /wp-admin/edit.php | 2,116 ▲27 | 2.03 ▲0.02 | 34.30 ▼5.04 | 34.32 ▼0.65 |
Add New Post /wp-admin/post-new.php | 1,555 ▲36 | 23.17 ▼0.17 | 677.88 ▲35.39 | 66.62 ▲1.62 |
Media Library /wp-admin/upload.php | 1,415 ▲24 | 4.30 ▲0.04 | 108.51 ▲3.76 | 49.91 ▲5.94 |
PDF Converter /wp-admin/admin.php?page=pdf-office-documents-converter/PDF Office Documents Converter.php | 850 | 2.14 | 23.51 | 26.37 |
Created Pages /wp-admin/admin.php?page=your-admin-sub-menu1 | 777 | 2.03 | 24.96 | 24.41 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.04MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- The uninstall procedure has failed, leaving 14 options in the database
- vvpdf_vvpdf_wp_plugin_page_insert_index_result
- vvpdf_vvpdf_wp_plugin_page_insert_pdftojpg_result
- widget_recent-comments
- vvpdf_vvpdf_wp_plugin_page_insert_wordtopdf_result
- vvpdf_vvpdf_wp_plugin_page_insert_exceltopdf_result
- widget_recent-posts
- vvpdf_vvpdf_wp_plugin_page_insert_ppttopdf_result
- vvpdf_vvpdf_wp_plugin_page_insert_pdftoexcel_result
- can_compress_scripts
- theysaidso_admin_options
- ...
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)
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
Almost there! Just fix the following items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/pdf-office-documents-converter/page_new.php:3
- > PHP Fatal error
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 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that need to be fixed:
- Tags: Please delete some tags, you are using 12 tag instead of maximum 10
pdf-office-documents-converter/PDF Office Documents Converter.php 85% from 13 tests
"pdf office documents converter" version 1.0.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("pdf-office-documents-converter.php" instead of "PDF Office Documents Converter.php")
- Description: The description should be shorter than 140 characters (currently 153 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected5,490 lines of code in 40 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 29 | 849 | 696 | 4,025 |
PHP | 2 | 89 | 26 | 712 |
CSS | 7 | 5 | 9 | 471 |
Markdown | 2 | 158 | 0 | 282 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
Average class complexity | 7.00 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 2.20 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.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 | 5 | |
▷ Static methods | 1 | 20.00% |
▷ Public methods | 4 | 80.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 20.00% |
Functions | 13 | |
▷ Named functions | 13 | 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
4 PNG files occupy 0.03MB with 0.02MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
css/modules/layer/default/icon-ext.png | 5.77KB | 2.91KB | ▼ 49.62% |
js/css/modules/layer/default/icon-ext.png | 5.77KB | 2.91KB | ▼ 49.62% |
css/modules/layer/default/icon.png | 11.22KB | 4.36KB | ▼ 61.19% |
js/css/modules/layer/default/icon.png | 11.22KB | 4.36KB | ▼ 61.19% |