Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.23MB] [CPU: ▲0.13ms] Passed 4 tests
A check of server-side resources used by Wp Convert Excel Data To Tabel And DB
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.69 ▲0.23 | 42.96 ▼1.84 |
Dashboard /wp-admin | 3.53 ▲0.23 | 48.86 ▼3.28 |
Posts /wp-admin/edit.php | 3.65 ▲0.29 | 50.97 ▲2.82 |
Add New Post /wp-admin/post-new.php | 6.13 ▲0.25 | 102.50 ▲9.33 |
Media Library /wp-admin/upload.php | 3.46 ▲0.23 | 39.70 ▲2.80 |
Add excel /wp-admin/admin.php?page=wpxlsdata_add_new | 3.42 | 35.27 |
Excel to db /wp-admin/admin.php?page=wpxlsdata_Admin_menue | 3.42 | 45.92 |
Server storage [IO: ▲0.45MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 110 new files
Database: 3 new tables, 6 new options
New tables |
---|
wp_wpxlsdata |
wp_wpxlsdata_shortcode |
wp_wpxlsdata_meta |
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Wp Convert Excel Data To Tabel And DB
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,849 ▲88 | 13.18 ▼1.20 | 4.49 ▲2.44 | 38.20 ▼11.67 |
Dashboard /wp-admin | 2,258 ▲55 | 4.85 ▼1.04 | 101.68 ▼14.52 | 40.01 ▼6.42 |
Posts /wp-admin/edit.php | 2,134 ▲34 | 2.03 ▲0.01 | 41.02 ▲6.19 | 34.71 ▼0.19 |
Add New Post /wp-admin/post-new.php | 1,555 ▲19 | 23.22 ▲0.17 | 618.78 ▼37.72 | 50.80 ▼17.94 |
Media Library /wp-admin/upload.php | 1,431 ▲31 | 4.26 ▲0.01 | 103.37 ▲4.38 | 44.94 ▼2.76 |
Add excel /wp-admin/admin.php?page=wpxlsdata_add_new | 1,473 | 9.40 | 295.93 | 71.27 |
Excel to db /wp-admin/admin.php?page=wpxlsdata_Admin_menue | 879 | 1.67 | 24.25 | 26.57 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie tables detected upon uninstall: 3 tables
- wp_wpxlsdata_shortcode
- wp_wpxlsdata_meta
- wp_wpxlsdata
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
Smoke tests 50% from 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 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
- 3× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/wpxlsdata/inc/vendor/asan/phpexcel/tests/csvTest.php
- > /wp-content/plugins/wpxlsdata/inc/vendor/asan/phpexcel/tests/xlsxTest.php
- > /wp-content/plugins/wpxlsdata/inc/vendor/asan/phpexcel/tests/xlsTest.php
- 26× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Warning
require_once(wp-content/plugins/wpxlsdata/inc/vendor/ellumilel/php-excel-writer/examples/../vendor/autoload.php): failed to open stream: No such file or directory in wp-content/plugins/wpxlsdata/inc/vendor/ellumilel/php-excel-writer/examples/big-data.php on line 2
- > PHP Warning
require_once(wp-content/plugins/wpxlsdata/inc/vendor/ellumilel/php-excel-writer/test/XLSX/../vendor/autoload.php): failed to open stream: No such file or directory in wp-content/plugins/wpxlsdata/inc/vendor/ellumilel/php-excel-writer/test/XLSX/XLSXtest.php on line 2
- > PHP Warning
require_once(wp-content/plugins/wpxlsdata/inc/fastexcel/vendor/ellumilel/php-excel-writer/examples/../vendor/autoload.php): failed to open stream: No such file or directory in wp-content/plugins/wpxlsdata/inc/fastexcel/vendor/ellumilel/php-excel-writer/examples/big-data.php on line 2
- > PHP Warning
"continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in wp-content/plugins/wpxlsdata/inc/vendor/asan/phpexcel/src/Parser/Excel2007.php on line 383
- > PHP Warning
require_once(wp-content/plugins/wpxlsdata/inc/fastexcel/vendor/ellumilel/php-excel-writer/examples/../vendor/autoload.php): failed to open stream: No such file or directory in wp-content/plugins/wpxlsdata/inc/fastexcel/vendor/ellumilel/php-excel-writer/examples/formula.php on line 2
- > PHP Fatal error
require_once(): Failed opening required 'wp-content/plugins/wpxlsdata/inc/fastexcel/vendor/ellumilel/php-excel-writer/test/XLSX/../vendor/autoload.php' (include_path='.:/usr/share/php') in wp-content/plugins/wpxlsdata/inc/fastexcel/vendor/ellumilel/php-excel-writer/test/XLSX/XLSXtest.php on line 2
- > PHP Warning
require_once(wp-content/plugins/wpxlsdata/inc/fastexcel/vendor/ellumilel/php-excel-writer/examples/../vendor/autoload.php): failed to open stream: No such file or directory in wp-content/plugins/wpxlsdata/inc/fastexcel/vendor/ellumilel/php-excel-writer/examples/more-than-one.php on line 2
- > PHP Fatal error
require_once(): Failed opening required 'wp-content/plugins/wpxlsdata/inc/fastexcel/vendor/ellumilel/php-excel-writer/examples/../vendor/autoload.php' (include_path='.:/usr/share/php') in wp-content/plugins/wpxlsdata/inc/fastexcel/vendor/ellumilel/php-excel-writer/examples/one.php on line 2
- > PHP Fatal error
require_once(): Failed opening required 'wp-content/plugins/wpxlsdata/inc/vendor/ellumilel/php-excel-writer/examples/../vendor/autoload.php' (include_path='.:/usr/share/php') in wp-content/plugins/wpxlsdata/inc/vendor/ellumilel/php-excel-writer/examples/one.php on line 2
- > PHP Fatal error
require_once(): Failed opening required 'wp-content/plugins/wpxlsdata/inc/fastexcel/vendor/ellumilel/php-excel-writer/examples/../vendor/autoload.php' (include_path='.:/usr/share/php') in wp-content/plugins/wpxlsdata/inc/fastexcel/vendor/ellumilel/php-excel-writer/examples/formula.php on line 2
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that require attention:
- Screenshots: Add an image for screenshot #1 (Add New Excel File)
- Tags: Too many tags (11 tag instead of maximum 10); only the first 5 tags are used in your directory listing
wpxlsdata/wpxlsdata.php Passed 13 tests
"Wp Convert Excel Data To Tabel And DB" version 1.2.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
93 characters long description:
An Plugin to convert Excel files to WordPress database And manage data in your WordPress menu
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
Good job! No executable or dangerous file extensions detected6,782 lines of code in 66 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 51 | 1,830 | 2,266 | 5,630 |
CSS | 1 | 34 | 2 | 293 |
Markdown | 2 | 44 | 0 | 234 |
JSON | 6 | 0 | 0 | 222 |
PO File | 2 | 87 | 101 | 222 |
JavaScript | 1 | 88 | 1 | 151 |
YAML | 2 | 3 | 0 | 22 |
XML | 1 | 0 | 0 | 8 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 21.94 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 276.00 |
Average method complexity | 3.34 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 57.00 |
Code structure | ||
---|---|---|
Namespaces | 13 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 48 | |
▷ Abstract classes | 1 | 2.08% |
▷ Concrete classes | 47 | 97.92% |
▷ Final classes | 0 | 0.00% |
Methods | 414 | |
▷ Static methods | 49 | 11.84% |
▷ Public methods | 286 | 69.08% |
▷ Protected methods | 30 | 7.25% |
▷ Private methods | 98 | 23.67% |
Functions | 16 | |
▷ Named functions | 4 | 25.00% |
▷ Anonymous functions | 12 | 75.00% |
Constants | 65 | |
▷ Global constants | 1 | 1.54% |
▷ Class constants | 64 | 98.46% |
▷ Public constants | 64 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
1 PNG file occupies 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 10.34KB | 4.96KB | ▼ 52.04% |