Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Please fix the following installer errors
- Install procedure had errors
- > Deprecated in wp-content/plugins/express-twitter-feed/api/twitter/lib/twitter-api-core.php+62
Array and string offset access syntax with curly braces is deprecated
Server metrics [RAM: ▼1.66MB] [CPU: ▼186.67ms] Passed 4 tests
Server-side resources used by Express Twitter Feed
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 1.91 ▼0.81 | 6.47 ▼13.99 |
Dashboard /wp-admin | 1.99 ▼1.07 | 9.54 ▼38.29 |
Posts /wp-admin/edit.php | 1.99 ▼1.12 | 6.89 ▼37.40 |
Add New Post /wp-admin/post-new.php | 1.99 ▼3.45 | 6.63 ▼642.93 |
Media Library /wp-admin/upload.php | 1.99 ▼1.01 | 6.19 ▼28.06 |
Express Twitter Feed /wp-admin/options-general.php?page=extf | 1.99 | 6.63 |
Server storage [IO: ▲0.25MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 50 new files
Database: no new tables, 2 new options
New WordPress options |
---|
extf_options |
extf_display_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Express Twitter Feed
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,802 ▲206 | 17.15 ▲1.13 | 24.53 ▲16.07 | 54.02 ▲5.35 |
Dashboard /wp-admin | 3,002 ▲71 | 6.58 ▲0.68 | 143.85 ▲8.26 | 108.12 ▼6.07 |
Posts /wp-admin/edit.php | 2,777 ▲38 | 2.75 ▲0.06 | 66.89 ▼1.62 | 112.36 ▲20.90 |
Add New Post /wp-admin/post-new.php | 1,703 ▲31 | 18.31 ▼0.56 | 348.59 ▼22.96 | 110.51 ▲6.81 |
Media Library /wp-admin/upload.php | 1,842 ▲35 | 5.44 ▲0.43 | 130.77 ▼10.04 | 121.09 ▲2.24 |
Express Twitter Feed /wp-admin/options-general.php?page=extf | 1,263 | 2.58 | 61.58 | 83.10 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin did not uninstall without warnings or errors
- > Deprecated in wp-content/plugins/express-twitter-feed/api/twitter/lib/twitter-api-core.php+62
Array and string offset access syntax with curly braces is deprecated
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These server-side errors were triggered
- 3 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=extf
- > Deprecated in wp-content/plugins/express-twitter-feed/api/twitter/lib/twitter-api-utils.php+119
Array and string offset access syntax with curly braces is deprecated
SRP 50% 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
The following issues need your attention
- 7× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit_Framework_TestCase' not found in wp-content/plugins/express-twitter-feed/api/twitter/test/utils/UnicodeTest.php:6
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit_Framework_TestCase' not found in wp-content/plugins/express-twitter-feed/api/twitter/test/utils/EmojiTest.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/express-twitter-feed/api/twitter/lang/extra/twitter-errors.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/express-twitter-feed/admin/settings-page.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/express-twitter-feed/api/twitter/lib/twitter-api-admin.php:196
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/express-twitter-feed/api/twitter/twitter-api.php:147
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit_Framework_TestCase' not found in wp-content/plugins/express-twitter-feed/api/twitter/test/utils/HtmlTest.php:6
- > PHP Fatal error
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 errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
6 plugin tags: oauth, quick, express, feed, easy...
express-twitter-feed/express-twitter-feed.php 92% from 13 tests
"Express Twitter Feed" version 0.2.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
You should first fix the following items:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin4,084 lines of code in 36 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 17 | 513 | 446 | 2,579 |
PO File | 10 | 487 | 489 | 1,212 |
CSS | 2 | 11 | 25 | 108 |
Markdown | 2 | 41 | 0 | 97 |
JavaScript | 2 | 13 | 3 | 37 |
Bourne Shell | 2 | 11 | 6 | 35 |
XML | 1 | 2 | 0 | 16 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 7.33 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 41.00 |
Average method complexity | 2.14 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 21.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 | 50 | |
▷ Static methods | 5 | 10.00% |
▷ Public methods | 46 | 92.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 8.00% |
Functions | 75 | |
▷ Named functions | 75 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 7 | 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