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.02MB] [CPU: ▼2.30ms] Passed 4 tests
This is a short check of server-side resources used by Category Import Reloaded
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 32.85 ▼2.37 |
Dashboard /wp-admin | 3.32 ▲0.02 | 45.07 ▼0.56 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 47.95 ▲4.36 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 88.60 ▼5.74 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 31.46 ▼0.52 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 24 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Category Import Reloaded
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,805 ▲19 | 14.29 ▲0.15 | 1.62 ▼0.32 | 37.72 ▲0.18 |
Dashboard /wp-admin | 2,211 ▲34 | 5.59 ▼0.05 | 91.96 ▲1.20 | 39.86 ▲3.05 |
Posts /wp-admin/edit.php | 2,116 ▲16 | 1.99 ▼0.04 | 39.61 ▲4.67 | 36.59 ▼0.49 |
Add New Post /wp-admin/post-new.php | 1,539 ▲13 | 23.08 ▼0.09 | 641.20 ▲25.50 | 71.62 ▲18.82 |
Media Library /wp-admin/upload.php | 1,416 ▲13 | 4.21 ▼0.03 | 98.99 ▲0.20 | 42.49 ▼1.35 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 75% 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 no errors were found, this is by no means an exhaustive test
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 take a closer look at the following
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function current_user_can() in wp-content/plugins/category-import-reloaded/inc/admin/views/html-category-import-reloaded-admin-display.php:14
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
5 plugin tags: create, bulk, taxonomy, import, category
category-import-reloaded/category-import-reloaded.php 92% from 13 tests
"Category Import Reloaded" version 1.1.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 212 characters long)
Code Analysis Passed 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
There were no executable files found in this plugin496 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 143 | 460 | 397 |
PO File | 2 | 23 | 23 | 96 |
JavaScript | 1 | 2 | 29 | 3 |
CSS | 1 | 0 | 5 | 0 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 5.14 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 26.00 |
Average method complexity | 2.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 29 | |
▷ Static methods | 3 | 10.34% |
▷ Public methods | 23 | 79.31% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 20.69% |
Functions | 2 | |
▷ Named functions | 1 | 50.00% |
▷ Anonymous functions | 1 | 50.00% |
Constants | 7 | |
▷ Global constants | 7 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin