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.07MB] [CPU: ▼6.04ms] Passed 4 tests
Server-side resources used by Smartarget Get Followers Teaser
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 42.75 ▼9.85 |
Dashboard /wp-admin | 3.37 ▲0.07 | 47.48 ▼3.99 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 49.73 ▲3.32 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 85.64 ▼12.67 |
Media Library /wp-admin/upload.php | 3.30 ▲0.06 | 38.01 ▲2.34 |
Smartarget Instagram - Follow Us /wp-admin/options-general.php?page=smartarget_instagram_follow | 3.26 | 34.23 |
Server storage [IO: ▲1.91MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 23 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Smartarget Get Followers Teaser
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,932 ▲161 | 21.20 ▲6.92 | 9.29 ▲7.25 | 42.89 ▼3.10 |
Dashboard /wp-admin | 2,216 ▲31 | 10.91 ▲4.91 | 201.14 ▲99.18 | 42.28 ▲2.98 |
Posts /wp-admin/edit.php | 2,105 ▲16 | 7.33 ▲5.33 | 114.55 ▲75.35 | 33.28 ▼0.44 |
Add New Post /wp-admin/post-new.php | 1,682 ▲149 | 28.32 ▲5.07 | 711.99 ▲106.81 | 49.23 ▼6.28 |
Media Library /wp-admin/upload.php | 1,395 ▲7 | 9.69 ▲5.52 | 189.25 ▲89.76 | 44.86 ▲2.71 |
Smartarget Instagram - Follow Us /wp-admin/options-general.php?page=smartarget_instagram_follow | 1,526 | 10.25 | 179.20 | 87.61 |
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
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/smartarget-get-followers-teaser/public/partials/smartarget-instagram-follow-public-display.php
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_home_url() in wp-content/plugins/smartarget-get-followers-teaser/admin/partials/smartarget-instagram-follow-admin-display.php:20
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
4 plugin tags: social, social media, instagram, instagram plugin
smartarget-get-followers-teaser/smartarget-instagram-follow.php 85% from 13 tests
This is the main PHP file of "Smartarget Get Followers Teaser" version 1.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("smartarget-get-followers-teaser.php" instead of "smartarget-instagram-follow.php")
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin430 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 130 | 522 | 225 |
JavaScript | 3 | 5 | 1,397 | 205 |
CSS | 1 | 0 | 4 | 0 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.10 |
Average class complexity | 2.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 5.00 |
Average method complexity | 1.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 28 | |
▷ Static methods | 2 | 7.14% |
▷ Public methods | 23 | 82.14% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 17.86% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
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
No PNG images were found in this plugin