Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.11MB] [CPU: ▼4.03ms] Passed 4 tests
An overview of server-side resources used by WP Export Categories & Taxonomies
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 40.23 ▼9.78 |
Dashboard /wp-admin | 3.44 ▲0.13 | 49.07 ▼0.87 |
Posts /wp-admin/edit.php | 3.55 ▲0.19 | 49.65 ▼1.41 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.13 | 100.19 ▼2.42 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 37.13 ▼2.52 |
Wp Export Cats & Taxs /wp-admin/tools.php?page=ect | 3.32 | 32.99 |
Server storage [IO: ▲0.18MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 18 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
ect_settings |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for WP Export Categories & Taxonomies
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.18 ▼1.38 | 1.64 ▼0.15 | 39.85 ▲0.01 |
Dashboard /wp-admin | 2,210 ▲22 | 4.85 ▼0.05 | 104.02 ▼1.59 | 40.46 ▼2.63 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 1.98 ▼0.05 | 37.25 ▼1.70 | 40.38 ▲7.51 |
Add New Post /wp-admin/post-new.php | 1,537 ▲23 | 23.19 ▲5.61 | 616.09 ▼83.44 | 48.79 ▼7.69 |
Media Library /wp-admin/upload.php | 1,389 ▲1 | 4.18 ▼0.01 | 95.70 ▼17.83 | 41.49 ▼3.97 |
Wp Export Cats & Taxs /wp-admin/tools.php?page=ect | 911 | 2.27 | 27.73 | 41.90 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- The uninstall procedure has failed, leaving 7 options in the database
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- ect_settings
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Smoke test failed, please fix the following
- 2 occurences, only the last one shown
- > GET request to /wp-admin/tools.php?page=ect
- > Notice in wp-content/plugins/wp-export-categories-taxonomies/admin/ECT_Admin_Base.php+217
Undefined variable: i
- 2 occurences, only the last one shown
- > GET request to /wp-admin/tools.php?page=ect
- > Notice in wp-content/plugins/wp-export-categories-taxonomies/admin/ECT_Admin_Base.php+218
Undefined index: yes
- > GET request to /wp-admin/tools.php?page=ect
- > Notice in wp-content/plugins/wp-export-categories-taxonomies/admin/wp-base/sidebar.php+9
Undefined property: WP_Ect_Admin::$_credits
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
- 3× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/wp-export-categories-taxonomies/admin/wp-base/fields.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/wp-export-categories-taxonomies/admin/wp-base/sidebar.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function do_action() in wp-content/plugins/wp-export-categories-taxonomies/admin/wp-base/header.php:3
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please fix the following browser errors
- > GET request to /wp-admin/tools.php?page=ect
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28609 "jQuery.Deferred exception: Cannot read properties of undefined (reading 'mozilla')" "TypeError: Cannot read properties of undefined (reading 'mozilla')\n at HTMLDocument.\u003Canonymous> (/wp-admin/tools.php?page=ect:281:18)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:27292)" undefined
- > GET request to /wp-admin/tools.php?page=ect
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28721 Uncaught TypeError: Cannot read properties of undefined (reading 'mozilla')
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
9 plugin tags: export tags, export, category export, export categories, categories...
wp-export-categories-taxonomies/wp-export-categories.php 77% from 13 tests
The primary PHP file in "WP Export Categories & Taxonomies" version 1.0.3 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Domain Path: The domain path folder does not exist ("/languages")
- Main file name: The principal plugin file should be the same as the plugin slug ("wp-export-categories-taxonomies.php" instead of "wp-export-categories.php")
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Good job! No executable or dangerous file extensions detected946 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 308 | 454 | 752 |
JavaScript | 3 | 18 | 10 | 123 |
CSS | 1 | 0 | 0 | 64 |
Markdown | 1 | 4 | 0 | 7 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 34.00 |
▷ Minimum class complexity | 12.00 |
▷ Maximum class complexity | 65.00 |
Average method complexity | 4.54 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 48.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 28 | |
▷ Static methods | 7 | 25.00% |
▷ Public methods | 23 | 82.14% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 17.86% |
Functions | 9 | |
▷ Named functions | 9 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 5 | 83.33% |
▷ Class constants | 1 | 16.67% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin