Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.05MB] [CPU: ▼5.92ms] Passed 4 tests
A check of server-side resources used by CATalog-Organization WP-Plugin
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.13 | 40.98 ▼4.95 |
Dashboard /wp-admin | 3.44 ▲0.14 | 56.17 ▲7.20 |
Posts /wp-admin/edit.php | 3.56 ▲0.20 | 53.12 ▲1.63 |
Add New Post /wp-admin/post-new.php | 5.66 ▼0.23 | 78.75 ▼23.43 |
Media Library /wp-admin/upload.php | 3.36 ▲0.14 | 39.38 ▲3.09 |
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=catalog | 3.36 | 35.77 |
Add New /wp-admin/post-new.php?post_type=catalog | 3.22 | 33.65 |
All Items /wp-admin/edit.php?post_type=catalog | 3.41 | 37.54 |
CATalog Settings /wp-admin/edit.php?post_type=catalog&page=catalog | 3.31 | 33.18 |
Server storage [IO: ▲2.79MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 26 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for CATalog-Organization WP-Plugin
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,867 ▲106 | 14.44 ▲0.07 | 2.36 ▲0.68 | 46.24 ▲3.24 |
Dashboard /wp-admin | 2,262 ▲88 | 5.92 ▲0.40 | 91.05 ▲0.18 | 37.29 ▼4.71 |
Posts /wp-admin/edit.php | 2,166 ▲63 | 2.37 ▲0.38 | 36.13 ▼5.69 | 32.32 ▼11.84 |
Add New Post /wp-admin/post-new.php | 1,582 ▲45 | 23.61 ▲5.61 | 623.02 ▲0.99 | 33.32 ▼32.61 |
Media Library /wp-admin/upload.php | 1,464 ▲61 | 4.61 ▲0.42 | 104.45 ▲1.79 | 46.89 ▼2.61 |
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=catalog | 1,391 | 2.12 | 32.76 | 31.16 |
Add New /wp-admin/post-new.php?post_type=catalog | 2,468 | 7.85 | 193.70 | 72.51 |
All Items /wp-admin/edit.php?post_type=catalog | 1,184 | 2.29 | 35.00 | 30.95 |
CATalog Settings /wp-admin/edit.php?post_type=catalog&page=catalog | 1,016 | 2.58 | 40.22 | 27.51 |
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
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These server-side errors were triggered
- 6 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=catalog
- > Notice in wp-content/plugins/catalog-organization/catalog.php+138
Only variables should be assigned by reference
- 24 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=catalog&page=catalog
- > Notice in wp-content/plugins/catalog-organization/admin/settings.php+143
Trying to access array offset on value of type bool
SRP 0% 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× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/catalog-organization/catalog.php
- 4× 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/catalog-organization/catalog-item-meta-box.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/catalog-organization/admin/settings.php:70
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/catalog-organization/admin/shortcode.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/catalog-organization/templates/single-catalog.php:10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Donate link: Invalid URI found ("paypal.me/kohleanphilipp")
catalog-organization/catalog.php 85% from 13 tests
The entry point to "CATalog-Organization WP-Plugin" version 1.0 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("catalog-organization.php" instead of "catalog.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 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected20,015 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 11 | 4,474 | 58 | 19,250 |
PHP | 5 | 222 | 103 | 751 |
SVG | 1 | 0 | 0 | 9 |
JavaScript | 1 | 2 | 1 | 5 |
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.21 |
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 | 25 | |
▷ Named functions | 25 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 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
1 PNG file occupies 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/Logo.png | 12.07KB | 5.01KB | ▼ 58.52% |