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.07MB] [CPU: ▼1.69ms] Passed 4 tests
An overview of server-side resources used by Post and Taxonomy Filter
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 44.67 ▲4.12 |
Dashboard /wp-admin | 3.38 ▲0.07 | 51.95 ▲2.90 |
Posts /wp-admin/edit.php | 3.43 ▲0.07 | 59.16 ▲8.09 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 86.74 ▼15.90 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 38.09 ▲2.14 |
Server storage [IO: ▲0.07MB] [DB: ▲0.07MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Post and Taxonomy Filter: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,883 ▲122 | 13.43 ▼0.93 | 9.20 ▲7.24 | 43.21 ▼1.66 |
Dashboard /wp-admin | 2,191 ▲14 | 5.52 ▼0.13 | 89.13 ▼2.07 | 77.12 ▲37.66 |
Posts /wp-admin/edit.php | 2,114 ▲11 | 1.98 ▲0.01 | 43.71 ▲6.65 | 37.48 ▲4.55 |
Add New Post /wp-admin/post-new.php | 1,564 ▲37 | 18.45 ▼4.60 | 644.39 ▲33.53 | 105.72 ▲49.09 |
Media Library /wp-admin/upload.php | 1,411 ▲14 | 4.20 ▼0.01 | 100.79 ▼0.42 | 71.96 ▲26.77 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/post-and-taxonomy-filter/post-and-taxonomy-filter.php:414
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 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
Attributes that need to be fixed:
- Screenshots: These screenshots lack descriptions #1, #2, #3, #4, #5, #6 in post-and-taxonomy-filter/assets to your readme.txt
post-and-taxonomy-filter/post-and-taxonomy-filter.php Passed 13 tests
This is the main PHP file of "Post and Taxonomy Filter" version 0.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
39 characters long description:
Post and Taxonomy jQuery or Ajax Filter
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
Success! There were no dangerous files found in this plugin738 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 95 | 76 | 361 |
CSS | 2 | 37 | 11 | 345 |
JavaScript | 2 | 10 | 6 | 32 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 8 | |
▷ Named functions | 8 | 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
PNG files should be compressed to save space and minimize bandwidth usage
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
post-taxonomy-filter.png | 0.95KB | 0.88KB | ▼ 7.72% |