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.06MB] [CPU: ▼3.16ms] Passed 4 tests
A check of server-side resources used by OB DB Excel Converter
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 36.58 ▼1.90 |
Dashboard /wp-admin | 3.36 ▲0.06 | 45.38 ▼0.79 |
Posts /wp-admin/edit.php | 3.41 ▲0.06 | 46.58 ▼2.68 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.06 | 86.66 ▼7.27 |
Media Library /wp-admin/upload.php | 3.28 ▲0.06 | 37.63 ▲3.00 |
Promotion /wp-admin/admin.php?page=odec-promotion | 3.25 | 29.08 |
Run SQL /wp-admin/admin.php?page=SQLDbExcelConverter | 3.30 | 27.95 |
OB DB Excel Converter /wp-admin/admin.php?page=DbExcelConverter | 3.26 | 29.48 |
Server storage [IO: ▲4.86MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 26 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
OB DB Excel Converter: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,855 ▲109 | 13.24 ▼1.16 | 4.88 ▲2.99 | 40.46 ▼1.82 |
Dashboard /wp-admin | 2,239 ▲54 | 5.86 ▼0.07 | 101.49 ▼1.41 | 69.09 ▲26.31 |
Posts /wp-admin/edit.php | 2,122 ▲33 | 1.97 ▼0.21 | 40.33 ▼0.49 | 33.91 ▲1.27 |
Add New Post /wp-admin/post-new.php | 1,548 ▲34 | 18.28 ▲0.85 | 734.91 ▲47.33 | 63.42 ▲13.01 |
Media Library /wp-admin/upload.php | 1,415 ▲27 | 4.10 ▼0.08 | 111.55 ▲8.91 | 80.62 ▲36.11 |
Promotion /wp-admin/admin.php?page=odec-promotion | 839 | 2.02 | 22.72 | 34.29 |
Run SQL /wp-admin/admin.php?page=SQLDbExcelConverter | 718 | 7.40 | 373.22 | 32.72 |
OB DB Excel Converter /wp-admin/admin.php?page=DbExcelConverter | 758 | 7.35 | 324.25 | 26.01 |
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
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These errors were triggered by the plugin
- 12 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=DbExcelConverter
- > Notice in wp-content/plugins/ob-db-excel-converter/ob-db_excel_converter.php+145
Undefined index: table_name
SRP 0% from 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
Please fix the following
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/ob-db-excel-converter/includes/promote/promote.php
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/ob-db-excel-converter/ob-db_excel_converter.php:18
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
- Tags: Too many tags (11 tag instead of maximum 10); only the first 5 tags are used in your directory listing
ob-db-excel-converter/ob-db_excel_converter.php 85% from 13 tests
This is the main PHP file of "OB DB Excel Converter" version 2.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 220 characters long)
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("ob-db-excel-converter.php" instead of "ob-db_excel_converter.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin8,579 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 11 | 2,107 | 1,901 | 7,587 |
CSS | 6 | 46 | 27 | 634 |
PHP | 4 | 25 | 34 | 358 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
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 | 4 | |
▷ Named functions | 4 | 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
2 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/image/ob-home-icon.png | 19.25KB | 12.92KB | ▼ 32.87% |
assets/image/ob-db_excel_converter_logo.png | 3.03KB | 0.40KB | ▼ 86.68% |