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 successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼8.89ms] Passed 4 tests
Server-side resources used by LH Posse
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 41.13 ▼7.82 |
Dashboard /wp-admin | 3.32 ▲0.01 | 47.05 ▼4.83 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 50.66 ▼2.23 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 89.99 ▼18.67 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 35.18 ▼4.24 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
LH Posse: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.23 ▼0.33 | 1.93 ▲0.00 | 44.83 ▲1.36 |
Dashboard /wp-admin | 2,198 ▲30 | 5.57 ▲0.03 | 86.99 ▼2.11 | 43.41 ▼3.13 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 1.97 ▼0.02 | 34.68 ▼3.55 | 36.44 ▲1.73 |
Add New Post /wp-admin/post-new.php | 1,531 ▲5 | 23.28 ▲0.15 | 636.77 ▼35.08 | 50.45 ▲3.36 |
Media Library /wp-admin/upload.php | 1,394 ▼3 | 4.16 ▼0.09 | 96.35 ▼19.99 | 44.45 ▼1.63 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP 50% from 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
Please take a closer look at the following
- 13× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Notice
Undefined variable: post in wp-content/plugins/lh-posse/templates/fb-templates/fb-gallery.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function the_title_rss() in wp-content/plugins/lh-posse/templates/fb-templates/fb-link.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function the_title_rss() in wp-content/plugins/lh-posse/templates/fb-templates/fb-quote.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function feed_content_type() in wp-content/plugins/lh-posse/templates/feed-lh-posse-tw.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function feed_content_type() in wp-content/plugins/lh-posse/templates/feed-lh-posse-attach.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function the_title_rss() in wp-content/plugins/lh-posse/templates/fb-templates/fb-standard.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/lh-posse/includes/hashtags.php:21
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/lh-posse/includes/rel-syndication.php:32
- > PHP Fatal error
Uncaught Error: Call to undefined function the_title_rss() in wp-content/plugins/lh-posse/templates/fb-templates/fb-status.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function feed_content_type() in wp-content/plugins/lh-posse/templates/feed-lh-posse-fb.php:3
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
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
10 plugin tags: feeds, ifttt, posse, feed, facebook...
lh-posse/lh-posse.php Passed 13 tests
The main file in "LH Posse" v. 1.03 serves as a complement to information provided in readme.txt and as the entry point to the plugin
109 characters long description:
Adds several feeds to Wordpress customised based on post format for posting to facebook and twitter via IFTTT
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin507 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 288 | 87 | 507 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 16.00 |
▷ Minimum class complexity | 16.00 |
▷ Maximum class complexity | 16.00 |
Average method complexity | 2.36 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 11 | |
▷ Static methods | 5 | 45.45% |
▷ Public methods | 11 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 19 | |
▷ Named functions | 18 | 94.74% |
▷ Anonymous functions | 1 | 5.26% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
There are no PNG files in this plugin