Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼143.07ms] Passed 4 tests
An overview of server-side resources used by PS Taxonomy Expander
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.84 ▲0.12 | 42.10 ▲20.41 |
Dashboard /wp-admin | 3.11 ▲0.05 | 44.90 ▼0.21 |
Posts /wp-admin/edit.php | 3.20 ▲0.08 | 45.65 ▼8.15 |
Add New Post /wp-admin/post-new.php | 5.47 ▲0.04 | 87.33 ▼565.07 |
Media Library /wp-admin/upload.php | 3.05 ▲0.05 | 31.36 ▲1.15 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 12 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for PS Taxonomy Expander
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,699 ▲52 | 15.99 ▲0.34 | 9.26 ▼0.67 | 46.70 ▲0.24 |
Dashboard /wp-admin | 3,009 ▲78 | 6.01 ▼0.03 | 134.30 ▼12.31 | 112.05 ▼1.10 |
Posts /wp-admin/edit.php | 2,726 ▼13 | 2.48 ▼0.25 | 66.37 ▲2.04 | 89.80 ▼11.15 |
Add New Post /wp-admin/post-new.php | 1,888 ▲390 | 19.26 ▲0.44 | 382.57 ▲3.36 | 106.99 ▼7.46 |
Media Library /wp-admin/upload.php | 1,824 ▲17 | 5.02 ▲0.01 | 142.81 ▼6.54 | 117.79 ▼6.71 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Uninstall script ran successfully
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 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
4 plugin tags: taxonomy, custom taxonomy, category, tag
ps-taxonomy-expander/ps-taxonomy-expander.php Passed 13 tests
The main PHP file in "PS Taxonomy Expander" ver. 1.2.3 adds more information about the plugin and also serves as the entry point for this plugin
95 characters long description:
PS Taxonomy Expander makes easy to use categories, tags and custom taxonomies on editing posts.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected962 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 140 | 28 | 894 |
PO File | 1 | 21 | 24 | 64 |
JavaScript | 4 | 0 | 0 | 4 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.69 |
Average class complexity | 110.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 216.00 |
Average method complexity | 6.74 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 23.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 38 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 38 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
2 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/icon32.png | 1.89KB | 1.34KB | ▼ 29.07% |
images/ps_logo.png | 3.10KB | 1.48KB | ▼ 52.27% |