Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.97MB] [CPU: ▲5.80ms] Passed 4 tests
Server-side resources used by Post Kinds
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.45 ▲0.98 | 44.99 ▲3.82 |
Dashboard /wp-admin | 4.26 ▲0.96 | 57.06 ▲6.04 |
Posts /wp-admin/edit.php | 4.33 ▲0.97 | 57.36 ▲8.17 |
Add New Post /wp-admin/post-new.php | 7.16 ▲1.27 | 105.35 ▲5.18 |
Media Library /wp-admin/upload.php | 4.18 ▲0.96 | 42.50 ▲9.79 |
Kinds /wp-admin/edit-tags.php?taxonomy=kind | 4.19 | 40.89 |
Post Kinds /wp-admin/options-general.php?page=kind_options | 4.21 | 222.15 |
Parse This /wp-admin/tools.php?page=parse_this | 4.15 | 39.41 |
Server storage [IO: ▲1.30MB] [DB: ▲0.01MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 144 new files
Database: no new tables, 9 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
widget_kind_post_widget |
default_term_kind |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
widget_kind_menu_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Post Kinds
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲31 | 14.72 ▼0.01 | 1.80 ▼0.05 | 37.31 ▼2.31 |
Dashboard /wp-admin | 2,221 ▲41 | 5.60 ▼0.10 | 96.22 ▲0.40 | 42.85 ▼2.07 |
Posts /wp-admin/edit.php | 2,146 ▲43 | 2.12 ▲0.17 | 40.74 ▲0.62 | 36.60 ▼0.34 |
Add New Post /wp-admin/post-new.php | 1,554 ▲28 | 23.39 ▲0.31 | 668.81 ▲71.09 | 54.89 ▼5.27 |
Media Library /wp-admin/upload.php | 1,420 ▲20 | 4.14 ▼0.03 | 95.42 ▼1.89 | 43.23 ▼0.27 |
Kinds /wp-admin/edit-tags.php?taxonomy=kind | 1,372 | 2.25 | 30.18 | 35.64 |
Post Kinds /wp-admin/options-general.php?page=kind_options | 1,142 | 1.97 | 25.99 | 31.18 |
Parse This /wp-admin/tools.php?page=parse_this | 954 | 2.16 | 25.40 | 27.00 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- Zombie WordPress options detected upon uninstall: 9 options
- widget_kind_post_widget
- widget_theysaidso_widget
- can_compress_scripts
- widget_kind_menu_widget
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- default_term_kind
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
- 51× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function feed_content_type() in wp-content/plugins/indieweb-post-kinds/templates/feed-atom.php:8
- > PHP Notice
Undefined variable: cite in wp-content/plugins/indieweb-post-kinds/views/kind-eat.php on line 7
- > PHP Fatal error
Uncaught Error: Class 'Kind_Taxonomy' not found in wp-content/plugins/indieweb-post-kinds/views/kind-photo.php:23
- > PHP Notice
Undefined variable: cite in wp-content/plugins/indieweb-post-kinds/views/kind-jam.php on line 7
- > PHP Notice
Undefined variable: cite in wp-content/plugins/indieweb-post-kinds/views/kind-issue.php on line 7
- > PHP Fatal error
Uncaught Error: Call to a member function get_video() on null in wp-content/plugins/indieweb-post-kinds/views/kind-video.php:7
- > PHP Fatal error
Uncaught Error: Class 'Parse_This_Base' not found in wp-content/plugins/indieweb-post-kinds/lib/parse-this/includes/class-parse-this-twitter.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/indieweb-post-kinds/templates/reply-details.php:2
- > PHP Fatal error
Uncaught Error: Class 'Masterminds\\HTML5\\Parser\\StringInputStream' not found in wp-content/plugins/indieweb-post-kinds/lib/parse-this/lib/html5/HTML5/Parser/FileInputStream.php:17
- > PHP Fatal error
Uncaught Error: Class 'Parse_This_MF2_Utils' not found in wp-content/plugins/indieweb-post-kinds/lib/parse-this/includes/class-parse-this-mf2.php:9
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
7 plugin tags: scrobble, share, webmention, posts, like...
indieweb-post-kinds/indieweb-post-kinds.php Passed 13 tests
This is the main PHP file of "Post Kinds" version 3.7.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
129 characters long description:
Ever want to reply to someone else's post with a post on your own site? Or to "like" someone else's post, but with your own site?
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected30,265 lines of code in 135 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 88 | 2,045 | 5,304 | 19,206 |
JSON | 1 | 0 | 0 | 10,412 |
JavaScript | 3 | 38 | 17 | 387 |
Markdown | 3 | 64 | 0 | 150 |
CSS | 3 | 8 | 3 | 68 |
SVG | 37 | 0 | 1 | 42 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.53 |
Average class complexity | 45.47 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 309.00 |
Average method complexity | 4.94 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 72.00 |
Code structure | ||
---|---|---|
Namespaces | 5 | |
Interfaces | 4 | |
Traits | 0 | |
Classes | 47 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 47 | 100.00% |
▷ Final classes | 2 | 4.26% |
Methods | 595 | |
▷ Static methods | 320 | 53.78% |
▷ Public methods | 498 | 83.70% |
▷ Protected methods | 58 | 9.75% |
▷ Private methods | 39 | 6.55% |
Functions | 93 | |
▷ Named functions | 83 | 89.25% |
▷ Anonymous functions | 10 | 10.75% |
Constants | 61 | |
▷ Global constants | 1 | 1.64% |
▷ Class constants | 60 | 98.36% |
▷ Public constants | 60 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
PNG images were not found in this plugin