Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
These installer errors require your attention
- The plugin did not install without errors
- > Warning in wp-content/plugins/tt-post-viewer/includes.php+5
include(wp-content/plugins/tt-post-viewer/ttpv-widgets/database-functions.php): failed to open stream: No such file or directory
Server metrics [RAM: ▼1.74MB] [CPU: ▼189.82ms] Passed 4 tests
This is a short check of server-side resources used by TT Post Viewer
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 1.89 ▼0.82 | 8.35 ▼15.47 |
Dashboard /wp-admin | 1.91 ▼1.14 | 7.82 ▼37.41 |
Posts /wp-admin/edit.php | 1.91 ▼1.19 | 9.24 ▼39.18 |
Add New Post /wp-admin/post-new.php | 1.91 ▼3.52 | 5.67 ▼654.40 |
Media Library /wp-admin/upload.php | 1.91 ▼1.09 | 8.19 ▼28.27 |
Post Viewer Options /wp-admin/options-general.php?page=tt-post-viewer/tt-post-viewer.php | 1.91 | 5.50 |
Server storage [IO: ▲0.29MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 33 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by TT Post Viewer
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,725 ▲129 | 16.21 ▲0.70 | 9.53 ▼1.03 | 50.90 ▼0.45 |
Dashboard /wp-admin | 2,990 ▲59 | 6.34 ▲0.45 | 165.31 ▲16.43 | 123.44 ▲10.19 |
Posts /wp-admin/edit.php | 2,786 ▲47 | 2.56 ▼0.12 | 94.32 ▲19.23 | 111.21 ▲10.65 |
Add New Post /wp-admin/post-new.php | 1,577 ▼106 | 19.79 ▲1.37 | 387.80 ▼3.05 | 130.43 ▲18.96 |
Media Library /wp-admin/upload.php | 1,851 ▲41 | 5.53 ▲0.51 | 140.94 ▼10.73 | 126.41 ▼1.37 |
Post Viewer Options /wp-admin/options-general.php?page=tt-post-viewer/tt-post-viewer.php | 3,746 | 3.17 | 100.44 | 98.64 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- The plugin did not uninstall gracefully
- > Warning in wp-content/plugins/tt-post-viewer/includes.php+5
include(wp-content/plugins/tt-post-viewer/ttpv-widgets/database-functions.php): failed to open stream: No such file or directory
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Please fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=tt-post-viewer/tt-post-viewer.php
- > Warning in wp-content/plugins/tt-post-viewer/includes.php+5
include(wp-content/plugins/tt-post-viewer/ttpv-widgets/database-functions.php): failed to open stream: No such file or directory
- > GET request to /wp-admin/options-general.php?page=tt-post-viewer/tt-post-viewer.php
- > Warning in wp-content/plugins/tt-post-viewer/includes.php+5
include(): Failed opening 'wp-content/plugins/tt-post-viewer/ttpv-widgets/database-functions.php' for inclusion (include_path='.:/usr/share/php')
- > GET request to /wp-admin/options-general.php?page=tt-post-viewer/tt-post-viewer.php
- > Deprecated in wp-content/plugins/tt-post-viewer/ttpv-widgets/ttpv-recentpost-widget.php+8
Non-static method TT_PostViewer::get_option_values() should not be called statically
- 24 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=tt-post-viewer/tt-post-viewer.php
- > Notice in wp-content/plugins/tt-post-viewer/required-functions.php+76
Trying to access array offset on value of type bool
- > GET request to /wp-admin/options-general.php?page=tt-post-viewer/tt-post-viewer.php
- > Deprecated in wp-content/plugins/tt-post-viewer/tt-post-viewer.php+233
Non-static method TT_PostViewer::add_menu_page() should not be called statically
- 9 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=tt-post-viewer/tt-post-viewer.php
- > Notice in wp-content/plugins/tt-post-viewer/tt-post-viewer.php+180
Undefined variable: option_page
- > GET request to /wp-admin/options-general.php?page=tt-post-viewer/tt-post-viewer.php
- > Deprecated in wp-includes/class-wp-hook.php+303
Non-static method TT_PostViewer::display_option_page() should not be called statically
- > GET request to /wp-admin/options-general.php?page=tt-post-viewer/tt-post-viewer.php
- > User deprecated in wp-includes/functions.php+5221
screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=tt-post-viewer/tt-post-viewer.php
- > User deprecated in wp-includes/functions.php+5221
get_screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=tt-post-viewer/tt-post-viewer.php
- > Notice in wp-content/plugins/tt-post-viewer/tt-post-viewer.php+107
Undefined variable: options_page
- 48 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=tt-post-viewer/tt-post-viewer.php
- > Notice in wp-content/plugins/tt-post-viewer/required-functions.php+88
Undefined variable: selected
- > GET request to /wp-admin/options-general.php?page=tt-post-viewer/tt-post-viewer.php
- > Notice in wp-content/plugins/tt-post-viewer/required-functions.php+35
Undefined index: ttpv_chk_recentpost_shortcode
- > GET request to /wp-admin/options-general.php?page=tt-post-viewer/tt-post-viewer.php
- > Notice in wp-content/plugins/tt-post-viewer/required-functions.php+23
Undefined index: ttpv_txt_recentpost_shortcode_number
- > GET request to /wp-admin/options-general.php?page=tt-post-viewer/tt-post-viewer.php
- > Notice in wp-content/plugins/tt-post-viewer/required-functions.php+76
Undefined index: ttpv_drp_recentpost_shortcode_postdisplay
- > GET request to /wp-admin/options-general.php?page=tt-post-viewer/tt-post-viewer.php
- > Notice in wp-content/plugins/tt-post-viewer/required-functions.php+76
Undefined index: ttpv_drp_recentpost_shortcode_excerpt
- > GET request to /wp-admin/options-general.php?page=tt-post-viewer/tt-post-viewer.php
- > Notice in wp-content/plugins/tt-post-viewer/required-functions.php+23
Undefined index: ttpv_txt_recentpost_shortcode_excerpt_number
- > GET request to /wp-admin/options-general.php?page=tt-post-viewer/tt-post-viewer.php
- > Notice in wp-content/plugins/tt-post-viewer/required-functions.php+23
Undefined index: ttpv_txt_mostpopular_title
- > GET request to /wp-admin/options-general.php?page=tt-post-viewer/tt-post-viewer.php
- > Notice in wp-content/plugins/tt-post-viewer/required-functions.php+35
Undefined index: ttpv_chk_mostpopular_widget
- > GET request to /wp-admin/options-general.php?page=tt-post-viewer/tt-post-viewer.php
- > Notice in wp-content/plugins/tt-post-viewer/required-functions.php+23
Undefined index: ttpv_txt_mostpopular_widget_number
- > GET request to /wp-admin/options-general.php?page=tt-post-viewer/tt-post-viewer.php
- > Notice in wp-content/plugins/tt-post-viewer/required-functions.php+76
Undefined index: ttpv_drp_mostpopular_widget_postdisplay
- > GET request to /wp-admin/options-general.php?page=tt-post-viewer/tt-post-viewer.php
- > Notice in wp-content/plugins/tt-post-viewer/required-functions.php+35
Undefined index: ttpv_chk_mostpopular_shortcode
- > GET request to /wp-admin/options-general.php?page=tt-post-viewer/tt-post-viewer.php
- > Notice in wp-content/plugins/tt-post-viewer/required-functions.php+23
Undefined index: ttpv_txt_mostpopular_shortcode_number
- > GET request to /wp-admin/options-general.php?page=tt-post-viewer/tt-post-viewer.php
- > Notice in wp-content/plugins/tt-post-viewer/required-functions.php+76
Undefined index: ttpv_drp_mostpopular_shortcode_postdisplay
- > GET request to /wp-admin/options-general.php?page=tt-post-viewer/tt-post-viewer.php
- > Notice in wp-content/plugins/tt-post-viewer/required-functions.php+76
Undefined index: ttpv_drp_mostpopular_shortcode_excerpt
- > GET request to /wp-admin/options-general.php?page=tt-post-viewer/tt-post-viewer.php
- > Notice in wp-content/plugins/tt-post-viewer/required-functions.php+23
Undefined index: ttpv_txt_mostpopular_shortcode_excerpt_number
- > GET request to /wp-admin/options-general.php?page=tt-post-viewer/tt-post-viewer.php
- > Notice in wp-content/plugins/tt-post-viewer/required-functions.php+23
Undefined index: ttpv_txt_mostcommented_title
- > GET request to /wp-admin/options-general.php?page=tt-post-viewer/tt-post-viewer.php
- > Notice in wp-content/plugins/tt-post-viewer/required-functions.php+35
Undefined index: ttpv_chk_mostcommented_widget
- > GET request to /wp-admin/options-general.php?page=tt-post-viewer/tt-post-viewer.php
- > Notice in wp-content/plugins/tt-post-viewer/required-functions.php+23
Undefined index: ttpv_txt_mostcommented_widget_number
- > GET request to /wp-admin/options-general.php?page=tt-post-viewer/tt-post-viewer.php
- > Notice in wp-content/plugins/tt-post-viewer/required-functions.php+76
Undefined index: ttpv_drp_mostcommented_widget_postdisplay
- > GET request to /wp-admin/options-general.php?page=tt-post-viewer/tt-post-viewer.php
- > Notice in wp-content/plugins/tt-post-viewer/required-functions.php+35
Undefined index: ttpv_chk_mostcommented_shortcode
- > GET request to /wp-admin/options-general.php?page=tt-post-viewer/tt-post-viewer.php
- > Notice in wp-content/plugins/tt-post-viewer/required-functions.php+23
Undefined index: ttpv_txt_mostcommented_shortcode_number
- > GET request to /wp-admin/options-general.php?page=tt-post-viewer/tt-post-viewer.php
- > Notice in wp-content/plugins/tt-post-viewer/required-functions.php+76
Undefined index: ttpv_drp_mostcommented_shortcode_postdisplay
- > GET request to /wp-admin/options-general.php?page=tt-post-viewer/tt-post-viewer.php
- > Notice in wp-content/plugins/tt-post-viewer/required-functions.php+76
Undefined index: ttpv_drp_mostcommented_shortcode_excerpt
- > GET request to /wp-admin/options-general.php?page=tt-post-viewer/tt-post-viewer.php
- > Notice in wp-content/plugins/tt-post-viewer/required-functions.php+23
Undefined index: ttpv_txt_mostcommented_shortcode_excerpt_number
- > GET request to /wp-admin/options-general.php?page=tt-post-viewer/tt-post-viewer.php
- > Notice in wp-content/plugins/tt-post-viewer/required-functions.php+23
Undefined index: ttpv_txt_related_title
- > GET request to /wp-admin/options-general.php?page=tt-post-viewer/tt-post-viewer.php
- > Notice in wp-content/plugins/tt-post-viewer/required-functions.php+35
Undefined index: ttpv_chk_related_widget
- > GET request to /wp-admin/options-general.php?page=tt-post-viewer/tt-post-viewer.php
- > Notice in wp-content/plugins/tt-post-viewer/required-functions.php+23
Undefined index: ttpv_txt_related_widget_number
- > GET request to /wp-admin/options-general.php?page=tt-post-viewer/tt-post-viewer.php
- > Notice in wp-content/plugins/tt-post-viewer/required-functions.php+76
Undefined index: ttpv_drp_related_widget_postdisplay
- > GET request to /wp-admin/options-general.php?page=tt-post-viewer/tt-post-viewer.php
- > Notice in wp-content/plugins/tt-post-viewer/required-functions.php+35
Undefined index: ttpv_chk_related_shortcode
- > GET request to /wp-admin/options-general.php?page=tt-post-viewer/tt-post-viewer.php
- > Notice in wp-content/plugins/tt-post-viewer/required-functions.php+23
Undefined index: ttpv_txt_related_shortcode_number
- > GET request to /wp-admin/options-general.php?page=tt-post-viewer/tt-post-viewer.php
- > Notice in wp-content/plugins/tt-post-viewer/required-functions.php+76
Undefined index: ttpv_drp_related_shortcode_postdisplay
- > GET request to /wp-admin/options-general.php?page=tt-post-viewer/tt-post-viewer.php
- > Notice in wp-content/plugins/tt-post-viewer/required-functions.php+76
Undefined index: ttpv_drp_related_shortcode_excerpt
- > GET request to /wp-admin/options-general.php?page=tt-post-viewer/tt-post-viewer.php
- > Notice in wp-content/plugins/tt-post-viewer/required-functions.php+23
Undefined index: ttpv_txt_related_shortcode_excerpt_number
- > GET request to /wp-admin/options-general.php?page=tt-post-viewer/tt-post-viewer.php
- > Notice in wp-content/plugins/tt-post-viewer/required-functions.php+23
Undefined index: ttpv_txt_featured_title
- > GET request to /wp-admin/options-general.php?page=tt-post-viewer/tt-post-viewer.php
- > Notice in wp-content/plugins/tt-post-viewer/required-functions.php+35
Undefined index: ttpv_chk_featured_widget
- > GET request to /wp-admin/options-general.php?page=tt-post-viewer/tt-post-viewer.php
- > Notice in wp-content/plugins/tt-post-viewer/required-functions.php+23
Undefined index: ttpv_txt_featured_widget_number
- > GET request to /wp-admin/options-general.php?page=tt-post-viewer/tt-post-viewer.php
- > Notice in wp-content/plugins/tt-post-viewer/required-functions.php+76
Undefined index: ttpv_drp_featured_widget_postdisplay
- > GET request to /wp-admin/options-general.php?page=tt-post-viewer/tt-post-viewer.php
- > Notice in wp-content/plugins/tt-post-viewer/required-functions.php+35
Undefined index: ttpv_chk_featured_shortcode
- > GET request to /wp-admin/options-general.php?page=tt-post-viewer/tt-post-viewer.php
- > Notice in wp-content/plugins/tt-post-viewer/required-functions.php+23
Undefined index: ttpv_txt_featured_shortcode_number
- > GET request to /wp-admin/options-general.php?page=tt-post-viewer/tt-post-viewer.php
- > Notice in wp-content/plugins/tt-post-viewer/required-functions.php+76
Undefined index: ttpv_drp_featured_shortcode_postdisplay
- > GET request to /wp-admin/options-general.php?page=tt-post-viewer/tt-post-viewer.php
- > Notice in wp-content/plugins/tt-post-viewer/required-functions.php+76
Undefined index: ttpv_drp_featured_shortcode_excerpt
- > GET request to /wp-admin/options-general.php?page=tt-post-viewer/tt-post-viewer.php
- > Notice in wp-content/plugins/tt-post-viewer/required-functions.php+23
Undefined index: ttpv_txt_featured_shortcode_excerpt_number
- > GET request to /wp-admin/options-general.php?page=tt-post-viewer/tt-post-viewer.php
- > Notice in wp-content/plugins/tt-post-viewer/required-functions.php+23
Undefined index: ttpv_txt_authors_title
- > GET request to /wp-admin/options-general.php?page=tt-post-viewer/tt-post-viewer.php
- > Notice in wp-content/plugins/tt-post-viewer/required-functions.php+35
Undefined index: ttpv_chk_authors_widget
- > GET request to /wp-admin/options-general.php?page=tt-post-viewer/tt-post-viewer.php
- > Notice in wp-content/plugins/tt-post-viewer/required-functions.php+23
Undefined index: ttpv_txt_authors_widget_number
- > GET request to /wp-admin/options-general.php?page=tt-post-viewer/tt-post-viewer.php
- > Notice in wp-content/plugins/tt-post-viewer/required-functions.php+76
Undefined index: ttpv_drp_authors_widget_postdisplay
- > GET request to /wp-admin/options-general.php?page=tt-post-viewer/tt-post-viewer.php
- > Notice in wp-content/plugins/tt-post-viewer/required-functions.php+35
Undefined index: ttpv_chk_authors_shortcode
- > GET request to /wp-admin/options-general.php?page=tt-post-viewer/tt-post-viewer.php
- > Notice in wp-content/plugins/tt-post-viewer/required-functions.php+23
Undefined index: ttpv_txt_authors_shortcode_number
- > GET request to /wp-admin/options-general.php?page=tt-post-viewer/tt-post-viewer.php
- > Notice in wp-content/plugins/tt-post-viewer/required-functions.php+76
Undefined index: ttpv_drp_authors_shortcode_postdisplay
- > GET request to /wp-admin/options-general.php?page=tt-post-viewer/tt-post-viewer.php
- > Notice in wp-content/plugins/tt-post-viewer/required-functions.php+76
Undefined index: ttpv_drp_authors_shortcode_excerpt
- > GET request to /wp-admin/options-general.php?page=tt-post-viewer/tt-post-viewer.php
- > Notice in wp-content/plugins/tt-post-viewer/required-functions.php+23
Undefined index: ttpv_txt_authors_shortcode_excerpt_number
- > GET request to /wp-admin/options-general.php?page=tt-post-viewer/tt-post-viewer.php
- > Notice in wp-content/plugins/tt-post-viewer/required-functions.php+23
Undefined index: ttpv_txt_category_title
- > GET request to /wp-admin/options-general.php?page=tt-post-viewer/tt-post-viewer.php
- > Notice in wp-content/plugins/tt-post-viewer/required-functions.php+35
Undefined index: ttpv_chk_category_widget
- > GET request to /wp-admin/options-general.php?page=tt-post-viewer/tt-post-viewer.php
- > Notice in wp-content/plugins/tt-post-viewer/required-functions.php+23
Undefined index: ttpv_txt_category_widget_number
- > GET request to /wp-admin/options-general.php?page=tt-post-viewer/tt-post-viewer.php
- > Notice in wp-content/plugins/tt-post-viewer/required-functions.php+76
Undefined index: ttpv_drp_category_widget_postdisplay
- > GET request to /wp-admin/options-general.php?page=tt-post-viewer/tt-post-viewer.php
- > Notice in wp-content/plugins/tt-post-viewer/required-functions.php+35
Undefined index: ttpv_chk_category_shortcode
- > GET request to /wp-admin/options-general.php?page=tt-post-viewer/tt-post-viewer.php
- > Notice in wp-content/plugins/tt-post-viewer/required-functions.php+23
Undefined index: ttpv_txt_category_shortcode_number
- > GET request to /wp-admin/options-general.php?page=tt-post-viewer/tt-post-viewer.php
- > Notice in wp-content/plugins/tt-post-viewer/required-functions.php+76
Undefined index: ttpv_drp_category_shortcode_postdisplay
- > GET request to /wp-admin/options-general.php?page=tt-post-viewer/tt-post-viewer.php
- > Notice in wp-content/plugins/tt-post-viewer/required-functions.php+76
Undefined index: ttpv_drp_category_shortcode_excerpt
- > GET request to /wp-admin/options-general.php?page=tt-post-viewer/tt-post-viewer.php
- > Notice in wp-content/plugins/tt-post-viewer/required-functions.php+23
Undefined index: ttpv_txt_category_shortcode_excerpt_number
- > GET request to /wp-admin/options-general.php?page=tt-post-viewer/tt-post-viewer.php
- > Notice in wp-content/plugins/tt-post-viewer/required-functions.php+23
Undefined index: ttpv_txt_bydate_title
- > GET request to /wp-admin/options-general.php?page=tt-post-viewer/tt-post-viewer.php
- > Notice in wp-content/plugins/tt-post-viewer/required-functions.php+35
Undefined index: ttpv_chk_bydate_widget
- > GET request to /wp-admin/options-general.php?page=tt-post-viewer/tt-post-viewer.php
- > Notice in wp-content/plugins/tt-post-viewer/required-functions.php+23
Undefined index: ttpv_txt_bydate_widget_number
- > GET request to /wp-admin/options-general.php?page=tt-post-viewer/tt-post-viewer.php
- > Notice in wp-content/plugins/tt-post-viewer/required-functions.php+76
Undefined index: ttpv_drp_bydate_widget_postdisplay
- > GET request to /wp-admin/options-general.php?page=tt-post-viewer/tt-post-viewer.php
- > Notice in wp-content/plugins/tt-post-viewer/required-functions.php+23
Undefined index: ttpv_txt_bydate_widget_datepick1
- > GET request to /wp-admin/options-general.php?page=tt-post-viewer/tt-post-viewer.php
- > Notice in wp-content/plugins/tt-post-viewer/required-functions.php+23
Undefined index: ttpv_txt_bydate_widget_datepick2
- > GET request to /wp-admin/options-general.php?page=tt-post-viewer/tt-post-viewer.php
- > Notice in wp-content/plugins/tt-post-viewer/required-functions.php+35
Undefined index: ttpv_chk_bydate_shortcode
- > GET request to /wp-admin/options-general.php?page=tt-post-viewer/tt-post-viewer.php
- > Notice in wp-content/plugins/tt-post-viewer/required-functions.php+23
Undefined index: ttpv_txt_bydate_shortcode_number
- > GET request to /wp-admin/options-general.php?page=tt-post-viewer/tt-post-viewer.php
- > Notice in wp-content/plugins/tt-post-viewer/required-functions.php+76
Undefined index: ttpv_drp_bydate_shortcode_postdisplay
- > GET request to /wp-admin/options-general.php?page=tt-post-viewer/tt-post-viewer.php
- > Notice in wp-content/plugins/tt-post-viewer/required-functions.php+23
Undefined index: ttpv_txt_bydate_shortcode_datepick1
- > GET request to /wp-admin/options-general.php?page=tt-post-viewer/tt-post-viewer.php
- > Notice in wp-content/plugins/tt-post-viewer/required-functions.php+23
Undefined index: ttpv_txt_bydate_shortcode_datepick2
- > GET request to /wp-admin/options-general.php?page=tt-post-viewer/tt-post-viewer.php
- > Notice in wp-content/plugins/tt-post-viewer/required-functions.php+76
Undefined index: ttpv_drp_bydate_shortcode_excerpt
- > GET request to /wp-admin/options-general.php?page=tt-post-viewer/tt-post-viewer.php
- > Notice in wp-content/plugins/tt-post-viewer/required-functions.php+23
Undefined index: ttpv_txt_bydate_shortcode_excerpt_number
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
The following issues need your attention
- 18× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/tt-post-viewer/ttpv-widgets/ttpv-bydate-widget.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function remove_action() in wp-content/plugins/tt-post-viewer/required-functions.php:276
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/tt-post-viewer/ttpv-widgets/ttpv-mostpopular-widget.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/tt-post-viewer/ttpv-shortcodes/ttpv-authors-shortcode.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/tt-post-viewer/ttpv-widgets/ttpv-recentpost-widget.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function remove_action() in wp-content/plugins/tt-post-viewer/required-functions.php:276
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/tt-post-viewer/ttpv-widgets/ttpv-featured-widget.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/tt-post-viewer/ttpv-shortcodes/ttpv-recentpost-shortcode.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/tt-post-viewer/ttpv-shortcodes/ttpv-related-shortcode.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/tt-post-viewer/ttpv-shortcodes/ttpv-mostcommented-shortcode.php:2
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please fix the following browser errors
- > GET request to /wp-admin/options-general.php?page=tt-post-viewer/tt-post-viewer.php
- > Network (severe)
wp-content/plugins/tt-post-viewer/images/ui-bg_flat_75_ffffff_40x100.png - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 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
Attributes that need to be fixed:
- Tags: There are too many tags (23 tag instead of maximum 10)
tt-post-viewer/tt-post-viewer.php 92% from 13 tests
The main PHP file in "TT Post Viewer" ver. 1.0 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Description: The description should be shorter than 140 characters (currently 217 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin3,912 lines of code in 26 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 22 | 613 | 148 | 3,394 |
CSS | 3 | 70 | 71 | 480 |
JavaScript | 1 | 12 | 2 | 38 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 17.00 |
▷ Minimum class complexity | 12.00 |
▷ Maximum class complexity | 21.00 |
Average method complexity | 3.57 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 57 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 57 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 42 | |
▷ Named functions | 42 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
6 PNG files occupy 0.08MB with 0.03MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-5.png | 39.22KB | 23.94KB | ▼ 38.97% |
assets/screenshot-2.png | 11.11KB | 7.29KB | ▼ 34.41% |
images/default-image.png | 11.20KB | 6.01KB | ▼ 46.36% |
assets/screenshot-4.png | 12.30KB | 7.98KB | ▼ 35.13% |
assets/screenshot-1.png | 3.13KB | 1.74KB | ▼ 44.45% |