Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼5.66ms] Passed 4 tests
Analyzing server-side resources used by Users Import Export with Excel for WordPress
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 37.94 ▼8.49 |
Dashboard /wp-admin | 3.31 ▲0.00 | 47.34 ▼1.88 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 45.14 ▼3.88 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 82.50 ▼8.38 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 33.36 ▲0.26 |
Users Import / Export /wp-admin/users.php?page=imue | 3.00 | 22.39 |
Server storage [IO: ▲3.86MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 157 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Users Import Export with Excel for WordPress
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 1,441 ▼1,294 | 12.30 ▼1.94 | 2.05 ▲0.06 | 42.31 ▼6.46 |
Dashboard /wp-admin | 2,197 ▲9 | 5.83 ▲0.74 | 116.51 ▲0.33 | 62.31 ▲13.50 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.03 ▲0.06 | 36.99 ▲1.35 | 32.21 ▼0.61 |
Add New Post /wp-admin/post-new.php | 1,534 ▲6 | 23.22 ▲4.92 | 643.56 ▼13.60 | 33.14 ▼24.93 |
Media Library /wp-admin/upload.php | 1,388 ▲3 | 4.24 ▲0.06 | 93.83 ▼5.98 | 39.84 ▼5.04 |
Users Import / Export /wp-admin/users.php?page=imue | 28 | 0.44 | 0.08 | 4.04 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
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)
The smoke test was a success, however most plugin functionality was not tested
SRP 50% 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
- 57× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'PHPExcel_Writer_Excel2007_WriterPart' not found in wp-content/plugins/users-import-export-with-excel-for-wp/Classes/PHPExcel/Writer/Excel2007/Chart.php:36
- > PHP Fatal error
Uncaught Error: Class 'PHPExcel_Writer_Excel2007_WriterPart' not found in wp-content/plugins/users-import-export-with-excel-for-wp/Classes/PHPExcel/Writer/Excel2007/DocProps.php:36
- > PHP Fatal error
Uncaught Error: Class 'PHPExcel_CachedObjectStorage_CacheBase' not found in wp-content/plugins/users-import-export-with-excel-for-wp/Classes/PHPExcel/CachedObjectStorage/Wincache.php:36
- > PHP Fatal error
Uncaught Error: Class 'PHPExcel_Worksheet_Drawing' not found in wp-content/plugins/users-import-export-with-excel-for-wp/Classes/PHPExcel/Worksheet/HeaderFooterDrawing.php:36
- > PHP Fatal error
Uncaught Error: Class 'PHPExcel_CachedObjectStorage_CacheBase' not found in wp-content/plugins/users-import-export-with-excel-for-wp/Classes/PHPExcel/CachedObjectStorage/DiscISAM.php:36
- > PHP Fatal error
Uncaught Error: Class 'PHPExcel_Writer_Excel5_BIFFwriter' not found in wp-content/plugins/users-import-export-with-excel-for-wp/Classes/PHPExcel/Writer/Excel5/Worksheet.php:71
- > PHP Fatal error
Uncaught Error: Class 'PHPExcel_CachedObjectStorage_CacheBase' not found in wp-content/plugins/users-import-export-with-excel-for-wp/Classes/PHPExcel/CachedObjectStorage/Igbinary.php:36
- > PHP Fatal error
Uncaught Error: Class 'PHPExcel_Shared_File' not found in wp-content/plugins/users-import-export-with-excel-for-wp/Classes/PHPExcel/Shared/ZipArchive.php:29
- > PHP Fatal error
Uncaught Error: Interface 'PHPExcel_IComparable' not found in wp-content/plugins/users-import-export-with-excel-for-wp/Classes/PHPExcel/Worksheet/BaseDrawing.php:36
- > PHP Fatal error
Uncaught Error: Interface 'PHPExcel_IComparable' not found in wp-content/plugins/users-import-export-with-excel-for-wp/Classes/PHPExcel/Style/Conditional.php:36
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
These are user-side errors you should fix
- > GET request to /wp-admin/users.php?page=imue
- > Network (severe)
wp-admin/users.php?page=imue - Failed to load resource: the server responded with a status of 403 (Forbidden)
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 88% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Please fix the following attributes:
- Screenshots: A description for screenshot #3 is missing in users-import-export-with-excel-for-wp/assets to your readme.txt
- Screenshots: Add an image for screenshot #4 (Users Import Export with Excel for WordPress Export screen)
users-import-export-with-excel-for-wp/users-customers-import-export-excel-wp.php 77% from 13 tests
"Users Import Export with Excel for WordPress" version 1.2's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
You should first fix the following items:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("users-import-export-with-excel-for-wp.php" instead of "users-customers-import-export-excel-wp.php")
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Requires at least: Required version must match the one declared in readme.txt ("3.0.1" instead of "2.2")
Code Analysis 95% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected42,134 lines of code in 142 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 134 | 9,365 | 28,251 | 40,720 |
SVG | 1 | 0 | 0 | 685 |
CSS | 2 | 75 | 38 | 367 |
JavaScript | 4 | 55 | 17 | 234 |
PO File | 1 | 51 | 60 | 128 |
PHP code 0% from 2 tests
A short review of cyclomatic complexity and code structure
The following items need your attention
- Class cyclomatic complexity has to be reduced to less than 1000 (currently 1,148)
- Cyclomatic complexity of methods should be reduced to less than 100 (currently 373)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 59.63 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1,148.00 |
Average method complexity | 4.55 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 373.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 7 | |
Traits | 0 | |
Classes | 127 | |
▷ Abstract classes | 3 | 2.36% |
▷ Concrete classes | 124 | 97.64% |
▷ Final classes | 0 | 0.00% |
Methods | 2,230 | |
▷ Static methods | 544 | 24.39% |
▷ Public methods | 1,816 | 81.43% |
▷ Protected methods | 3 | 0.13% |
▷ Private methods | 411 | 18.43% |
Functions | 18 | |
▷ Named functions | 18 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 553 | |
▷ Global constants | 41 | 7.41% |
▷ Class constants | 512 | 92.59% |
▷ Public constants | 512 | 100.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
3 PNG files occupy 0.05MB with 0.03MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/extendwp.png | 5.75KB | 3.37KB | ▼ 41.46% |
images/default.png | 14.13KB | 5.96KB | ▼ 57.80% |
images/users-customers-import-export-excel-wp-woocommerce-pro.png | 33.35KB | 15.03KB | ▼ 54.92% |