Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.10MB] [CPU: ▼8.51ms] Passed 4 tests
Server-side resources used by Trinxypost
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 38.30 ▼4.35 |
Dashboard /wp-admin | 3.32 ▼0.03 | 51.71 ▼11.95 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 48.16 ▲2.89 |
Add New Post /wp-admin/post-new.php | 5.51 ▼0.38 | 77.88 ▼20.63 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 41.00 ▲9.35 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 18 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Trinxypost
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,911 ▲125 | 13.50 ▼0.65 | 7.81 ▲5.96 | 41.73 ▼0.27 |
Dashboard /wp-admin | 2,212 ▲35 | 5.64 ▲0.03 | 91.00 ▼1.81 | 38.13 ▼0.86 |
Posts /wp-admin/edit.php | 2,114 ▲17 | 2.01 ▲0.06 | 40.43 ▲5.20 | 35.18 ▲1.48 |
Add New Post /wp-admin/post-new.php | 6,639 ▲5,110 | 27.26 ▲4.17 | 998.85 ▲345.34 | 66.36 ▲2.35 |
Media Library /wp-admin/upload.php | 1,414 ▲20 | 4.08 ▼0.15 | 98.46 ▼4.33 | 41.85 ▼9.87 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- This plugin did not uninstall without warnings or errors
- > User notice in wp-includes/functions.php+5905
Function wpdb::prepare was called incorrectly. The query argument of wpdb::prepare() must have a placeholder. Please see Debugging in WordPress for more information. (This message was added in version 3.9.0.)
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% 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
- 14× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Notice
Undefined variable: img_2 in wp-content/plugins/trinxypost/includes/image_array.php on line 13
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/trinxypost/trinxypost.php:28
- > PHP Fatal error
Uncaught Error: Call to undefined function sanitize_text_field() in wp-content/plugins/trinxypost/includes/image_post_meta.php:11
- > PHP Notice
Undefined variable: img_3 in wp-content/plugins/trinxypost/includes/image_array.php on line 14
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/trinxypost/includes/comment_and_autor.php:39
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/trinxypost/includes/admin_settings.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/trinxypost/includes/full_post_content.php:40
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/trinxypost/includes/admin_page_settings.php:63
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/trinxypost/includes/page_html.php:24
- > PHP Notice
Undefined variable: img_4 in wp-content/plugins/trinxypost/includes/image_array.php on line 15
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
4 plugin tags: social media, gallery, posts, instagram
trinxypost/trinxypost.php Passed 13 tests
The primary PHP file in "Trinxypost" version 1.1 is used by WordPress to initiate all plugin functionality
107 characters long description:
Display your (or others) instagram posts or make a gallery of instagram images. Easy to setup, easy to use!
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 plugin1,173 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 105 | 55 | 586 |
PHP | 13 | 63 | 124 | 495 |
JavaScript | 1 | 9 | 0 | 91 |
SVG | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.14 |
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 | 21 | |
▷ Named functions | 21 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There were not PNG files found in your plugin