Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.42MB] [CPU: ▲0.01ms] Passed 4 tests
Analyzing server-side resources used by Import Post, Pages, Products Content in WordPress & WooCommerce with Excel
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.90 ▲0.43 | 48.40 ▲9.25 |
Dashboard /wp-admin | 3.76 ▲0.46 | 56.08 ▲0.80 |
Posts /wp-admin/edit.php | 3.81 ▲0.45 | 51.16 ▼0.47 |
Add New Post /wp-admin/post-new.php | 6.30 ▲0.41 | 93.20 ▼5.28 |
Media Library /wp-admin/upload.php | 3.62 ▲0.39 | 41.41 ▲4.99 |
Server storage [IO: ▲4.58MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 393 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Import Post, Pages, Products Content in WordPress & WooCommerce with Excel
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,841 ▲80 | 14.39 ▼0.24 | 2.40 ▲0.14 | 46.92 ▼1.22 |
Dashboard /wp-admin | 2,222 ▲42 | 5.83 ▲0.17 | 84.16 ▼14.14 | 37.03 ▼6.33 |
Posts /wp-admin/edit.php | 2,132 ▲32 | 2.23 ▲0.26 | 39.16 ▲0.57 | 32.37 ▼5.82 |
Add New Post /wp-admin/post-new.php | 1,551 ▲25 | 23.18 ▲0.21 | 648.43 ▼38.05 | 36.92 ▼23.38 |
Media Library /wp-admin/upload.php | 1,430 ▲30 | 4.33 ▲0.14 | 97.44 ▼17.99 | 42.29 ▼4.67 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 50% 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)
Even though everything seems fine, this is not an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
- 5× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/content-excel-importer/Classes/markbaker/matrix/examples/test.php
- > /wp-content/plugins/content-excel-importer/Classes/markbaker/complex/examples/testFunctions.php
- > /wp-content/plugins/content-excel-importer/Classes/markbaker/complex/examples/testOperations.php
- > /wp-content/plugins/content-excel-importer/Classes/markbaker/matrix/buildPhar.php
- > /wp-content/plugins/content-excel-importer/Classes/markbaker/complex/examples/complexTest.php
- 98× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/content-excel-importer/content-excel-importer_content.php:3
- > PHP Fatal error
Uncaught Error: Class 'PhpOffice\\PhpSpreadsheet\\Style\\Supervisor' not found in wp-content/plugins/content-excel-importer/Classes/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Style/Font.php:7
- > PHP Fatal error
Uncaught Error: Class 'PhpOffice\\PhpSpreadsheet\\Writer\\BaseWriter' not found in wp-content/plugins/content-excel-importer/Classes/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Xls.php:28
- > PHP Fatal error
Uncaught Error: Class 'PhpOffice\\PhpSpreadsheet\\Worksheet\\CellIterator' not found in wp-content/plugins/content-excel-importer/Classes/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Worksheet/RowCellIterator.php:8
- > PHP Fatal error
Uncaught Error: Interface 'PhpOffice\\PhpSpreadsheet\\IComparable' not found in wp-content/plugins/content-excel-importer/Classes/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Worksheet/Drawing/Shadow.php:8
- > PHP Fatal error
Uncaught Error: Interface 'PhpOffice\\PhpSpreadsheet\\IComparable' not found in wp-content/plugins/content-excel-importer/Classes/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Comment.php:7
- > PHP Fatal error
Uncaught Error: Class 'PhpOffice\\PhpSpreadsheet\\Reader\\BaseReader' not found in wp-content/plugins/content-excel-importer/Classes/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Gnumeric.php:23
- > PHP Fatal error
Uncaught Error: Interface 'PhpOffice\\PhpSpreadsheet\\Reader\\IReader' not found in wp-content/plugins/content-excel-importer/Classes/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/BaseReader.php:8
- > PHP Fatal error
Uncaught Error: Class 'PhpOffice\\PhpSpreadsheet\\Reader\\Xlsx\\BaseParserClass' not found in wp-content/plugins/content-excel-importer/Classes/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Xlsx/SheetViewOptions.php:7
- > PHP Fatal error
Uncaught Error: Class 'PhpOffice\\PhpSpreadsheet\\Exception' not found in wp-content/plugins/content-excel-importer/Classes/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Exception.php:7
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 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
6 plugin tags: excel, migrate, bulk import, importer, excel import...
content-excel-importer/content-excel-importer.php 85% from 13 tests
This is the main PHP file of "Import Post, Pages, Products Content in WordPress & WooCommerce with Excel" version 3.9, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
The following require your attention:
- Requires at least: Required version does not match the one declared in readme.txt ("3.0.1" instead of "2.2")
- Plugin Name: A shorter plugin name is better (currently 74 characters long instead of max. 70)
Code Analysis 95% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin63,209 lines of code in 337 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 315 | 13,191 | 31,456 | 60,012 |
Markdown | 9 | 423 | 0 | 2,002 |
JSON | 6 | 0 | 0 | 684 |
CSS | 1 | 35 | 3 | 197 |
JavaScript | 1 | 60 | 7 | 185 |
YAML | 3 | 14 | 1 | 82 |
Bourne Again Shell | 1 | 6 | 3 | 24 |
XML | 1 | 0 | 0 | 23 |
PHP code 0% from 2 tests
Analyzing cyclomatic complexity and code structure
Please fix the following
- Class cyclomatic complexity should be reduced to less than 1000 (currently 1,011)
- Cyclomatic complexity of methods has to be reduced to less than 100 (currently 387)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 42.67 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1,011.00 |
Average method complexity | 4.40 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 387.00 |
Code structure | ||
---|---|---|
Namespaces | 45 | |
Interfaces | 10 | |
Traits | 0 | |
Classes | 232 | |
▷ Abstract classes | 16 | 6.90% |
▷ Concrete classes | 216 | 93.10% |
▷ Final classes | 0 | 0.00% |
Methods | 2,997 | |
▷ Static methods | 690 | 23.02% |
▷ Public methods | 2,304 | 76.88% |
▷ Protected methods | 85 | 2.84% |
▷ Private methods | 608 | 20.29% |
Functions | 86 | |
▷ Named functions | 72 | 83.72% |
▷ Anonymous functions | 14 | 16.28% |
Constants | 779 | |
▷ Global constants | 2 | 0.26% |
▷ Class constants | 777 | 99.74% |
▷ Public constants | 777 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
4 PNG files occupy 0.18MB with 0.09MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/default.png | 14.13KB | 5.96KB | ▼ 57.80% |
images/extendwp.png | 5.75KB | 3.37KB | ▼ 41.46% |
images/content-excel-importer-horizontal.png | 76.84KB | 34.30KB | ▼ 55.36% |
images/content-excel-importer-pro.png | 86.39KB | 38.01KB | ▼ 56.01% |