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
Installer ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼5.58ms] Passed 4 tests
This is a short check of server-side resources used by Ipanema Twitter Feed
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 39.27 ▼1.85 |
Dashboard /wp-admin | 3.38 ▲0.04 | 46.52 ▼16.79 |
Posts /wp-admin/edit.php | 3.44 ▲0.08 | 45.88 ▼0.81 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 93.54 ▼2.86 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 38.02 ▲4.04 |
Ipanema Twitter Feed /wp-admin/options-general.php?page=itf-admin-menu | 3.26 | 38.86 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 8 new files
Database: no new tables, 11 new options
New WordPress options |
---|
widget_recent-posts |
itf_gt_database_options_4 |
theysaidso_admin_options |
can_compress_scripts |
itf_gt_database_options_2 |
itf_gt_database_options_1 |
widget_theysaidso_widget |
itf_gt_database_options_3 |
itf_gt_database_options_5 |
widget_recent-comments |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Ipanema Twitter Feed
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,795 ▲34 | 14.54 ▲0.28 | 1.59 ▼0.31 | 40.01 ▼2.36 |
Dashboard /wp-admin | 2,204 ▲27 | 5.65 ▼0.02 | 89.89 ▼11.46 | 38.65 ▼2.92 |
Posts /wp-admin/edit.php | 2,106 ▲3 | 2.03 ▼0.01 | 32.56 ▼2.64 | 31.40 ▼4.08 |
Add New Post /wp-admin/post-new.php | 1,542 ▲14 | 18.36 ▼4.76 | 596.11 ▼103.41 | 67.31 ▲10.08 |
Media Library /wp-admin/upload.php | 1,409 ▲6 | 4.16 ▼0.07 | 95.11 ▼4.31 | 43.10 ▼1.29 |
Ipanema Twitter Feed /wp-admin/options-general.php?page=itf-admin-menu | 1,234 | 2.04 | 23.51 | 32.66 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- This plugin does not fully uninstall, leaving 11 options in the database
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- itf_gt_database_options_1
- widget_recent-comments
- itf_gt_database_options_5
- widget_theysaidso_widget
- itf_gt_database_options_4
- itf_gt_database_options_3
- can_compress_scripts
- ...
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, 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 fix the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/ipanema-twitter-feed/include/functions/functions.php:9
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that need to be fixed:
- Tags: Please delete some tags, you are using 12 tag instead of maximum 10
ipanema-twitter-feed/ipanema-twitter-feed.php Passed 13 tests
The main file in "Ipanema Twitter Feed" v. 1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
65 characters long description:
This plugin lets you add a twitter feed into your WordPress site.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected494 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 75 | 78 | 355 |
PO File | 1 | 43 | 43 | 138 |
CSS | 1 | 1 | 6 | 1 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
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 | 13 | |
▷ Named functions | 13 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.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
PNG images were not found in this plugin