Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.26MB] [CPU: ▼294.64ms] Passed 4 tests
Server-side resources used by WP TFeed
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.83 ▲0.31 | 54.31 ▲3.27 |
Dashboard /wp-admin | 3.67 ▲0.25 | 34.61 ▲0.04 |
Posts /wp-admin/edit.php | 3.89 ▲0.25 | 40.90 ▲3.84 |
Add New Post /wp-admin/post-new.php | 7.20 ▲0.22 | 101.05 ▼1,175.14 |
Media Library /wp-admin/upload.php | 3.60 ▲0.30 | 25.29 ▼6.71 |
Server storage [IO: ▲0.97MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 62 new files
Database: no new tables, 3 new options
New WordPress options |
---|
widget_aptf_widget |
aptf_settings |
widget_aptf_slider_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WP TFeed
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,920 ▲166 | 16.54 ▲0.55 | 10.35 ▲3.37 | 2.09 ▼0.36 |
Dashboard /wp-admin | 2,912 ▲55 | 6.22 ▲0.02 | 117.79 ▼18.86 | 155.27 ▼3.71 |
Posts /wp-admin/edit.php | 2,708 ▲14 | 3.23 ▼0.02 | 64.57 ▲1.30 | 142.37 ▲0.05 |
Add New Post /wp-admin/post-new.php | 1,674 ▼37 | 21.77 ▲0.98 | 398.05 ▼57.84 | 162.88 ▲5.10 |
Media Library /wp-admin/upload.php | 1,718 ▲20 | 5.53 ▲0.01 | 139.82 ▼5.83 | 190.31 ▼2.50 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Zombie WordPress options detected upon uninstall: 3 options
- aptf_settings
- widget_aptf_slider_widget
- widget_aptf_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 0% 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
Almost there! Just fix the following items
- 11× PHP files perform the task of outputting text when accessed with GET requests (only 10 are shown):
- > /wp-content/plugins/accesspress-twitter-feed/accesspress-twitter-feed.php
- > /wp-content/plugins/accesspress-twitter-feed/inc/frontend/templates/slider/template-3.php
- > /wp-content/plugins/accesspress-twitter-feed/inc/frontend/templates/tweet-media.php
- > /wp-content/plugins/accesspress-twitter-feed/inc/frontend/templates/default/template-3.php
- > /wp-content/plugins/accesspress-twitter-feed/inc/frontend/templates/default/template-2.php
- > /wp-content/plugins/accesspress-twitter-feed/inc/backend/slider-widget.php
- > /wp-content/plugins/accesspress-twitter-feed/inc/frontend/templates/tweet-actions.php
- > /wp-content/plugins/accesspress-twitter-feed/inc/frontend/templates/default/template-1.php
- > /wp-content/plugins/accesspress-twitter-feed/inc/backend/widget.php
- > /wp-content/plugins/accesspress-twitter-feed/inc/frontend/templates/slider/template-2.php
- 31× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Notice
Undefined variable: slide_controls in wp-content/plugins/accesspress-twitter-feed/inc/frontend/templates/slider/template-2.php on line 1
- > PHP Notice
Undefined variable: auto_slide in wp-content/plugins/accesspress-twitter-feed/inc/frontend/templates/slider/template-3.php on line 1
- > PHP Notice
Undefined variable: tweets in wp-content/plugins/accesspress-twitter-feed/inc/frontend/templates/slider/template-2.php on line 2
- > PHP Notice
Undefined variable: tweet in wp-content/plugins/accesspress-twitter-feed/inc/frontend/templates/tweet-actions.php on line 4
- > PHP Notice
Trying to get property 'id_str' of non-object in wp-content/plugins/accesspress-twitter-feed/inc/frontend/templates/tweet-actions.php on line 2
- > PHP Notice
Undefined variable: auto_slide in wp-content/plugins/accesspress-twitter-feed/inc/frontend/templates/slider/template-2.php on line 1
- > PHP Notice
Undefined variable: auto_slide in wp-content/plugins/accesspress-twitter-feed/inc/frontend/templates/slider/template-1.php on line 1
- > PHP Notice
Undefined variable: username in wp-content/plugins/accesspress-twitter-feed/inc/frontend/templates/follow-btn.php on line 2
- > PHP Notice
Undefined variable: slide_duration in wp-content/plugins/accesspress-twitter-feed/inc/frontend/templates/slider/template-3.php on line 1
- > PHP Notice
Undefined variable: slide_duration in wp-content/plugins/accesspress-twitter-feed/inc/frontend/templates/slider/template-1.php on line 1
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Please fix the following attributes:
- Tags: Too many tags (12 tag instead of maximum 10); only the first 5 tags are used in your directory listing
accesspress-twitter-feed/accesspress-twitter-feed.php Passed 13 tests
The main PHP file in "WP TFeed" ver. 1.6.8 adds more information about the plugin and also serves as the entry point for this plugin
82 characters long description:
A plugin to show your twitter feed in your site with various configurable settings
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin3,619 lines of code in 33 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 25 | 514 | 873 | 2,697 |
CSS | 4 | 43 | 41 | 629 |
SVG | 1 | 0 | 0 | 257 |
JavaScript | 3 | 7 | 14 | 36 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 10.29 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 36.00 |
Average method complexity | 2.44 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 28 | |
▷ Abstract classes | 4 | 14.29% |
▷ Concrete classes | 24 | 85.71% |
▷ Final classes | 0 | 0.00% |
Methods | 189 | |
▷ Static methods | 20 | 10.58% |
▷ Public methods | 164 | 86.77% |
▷ Protected methods | 4 | 2.12% |
▷ Private methods | 21 | 11.11% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 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
18 PNG files occupy 0.31MB with 0.18MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/aplite.png | 6.73KB | 3.22KB | ▼ 52.21% |
images/plugin.png | 12.50KB | 5.31KB | ▼ 57.50% |
images/upgrade.png | 92.63KB | 23.62KB | ▼ 74.50% |
images/upgrade-features.png | 99.67KB | 27.12KB | ▼ 72.79% |
images/logo.png | 3.55KB | 2.09KB | ▼ 41.09% |