Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
These installer errors require your attention
- The plugin did not install without errors
- > Deprecated in wp-content/plugins/find-tweets/find-tweets.php+16
define(): Declaration of case-insensitive constants is deprecated
Server metrics [RAM: ▼1.94MB] [CPU: ▼53.87ms] Passed 4 tests
Server-side resources used by Find Tweets
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.05 ▼1.42 | 9.10 ▼32.72 |
Dashboard /wp-admin | 2.07 ▼1.24 | 5.81 ▼46.25 |
Posts /wp-admin/edit.php | 2.07 ▼1.29 | 6.17 ▼40.42 |
Add New Post /wp-admin/post-new.php | 2.07 ▼3.82 | 5.81 ▼96.00 |
Media Library /wp-admin/upload.php | 2.07 ▼1.16 | 4.88 ▼32.80 |
Find Tweets /wp-admin/tools.php?page=find_tweets | 2.07 | 5.39 |
Server storage [IO: ▲0.43MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Find Tweets
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲83 | 13.29 ▼1.02 | 4.79 ▲3.04 | 40.26 ▼7.32 |
Dashboard /wp-admin | 2,213 ▲25 | 4.86 ▼1.04 | 103.44 ▼11.24 | 40.11 ▼2.40 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 1.99 ▼0.00 | 35.88 ▼5.58 | 33.41 ▼2.03 |
Add New Post /wp-admin/post-new.php | 1,538 ▲10 | 23.64 ▲5.32 | 682.95 ▲31.93 | 55.27 ▲1.06 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.13 ▼0.06 | 98.50 ▼3.55 | 47.01 ▲4.67 |
Find Tweets /wp-admin/tools.php?page=find_tweets | 789 | 2.05 | 24.54 | 23.83 |
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
- Uninstall procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/find-tweets/find-tweets.php+16
define(): Declaration of case-insensitive constants is deprecated
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These errors were triggered by the plugin
- 2 occurences, only the last one shown
- > GET request to /wp-admin/tools.php?page=find_tweets
- > Deprecated in wp-content/plugins/find-tweets/find-tweets.php+20
define(): Declaration of case-insensitive constants is deprecated
- > GET request to /wp-admin/tools.php?page=find_tweets
- > User notice in wp-includes/functions.php+5905
Function wp_register_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the ZeroClipboard handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- > GET request to /wp-admin/tools.php?page=find_tweets
- > User notice in wp-includes/functions.php+5905
Function wp_register_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the Zeromain handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
- 3× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/find-tweets/find-tweets.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/find-tweets/googl.php:43
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/find-tweets/processor.php:27
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Please fix the following attributes:
- Screenshots: A description for screenshot #1 is required in find-tweets/assets to your readme.txt
find-tweets/find-tweets.php Passed 13 tests
The primary PHP file in "Find Tweets" version 0.11 is used by WordPress to initiate all plugin functionality
47 characters long description:
Find tweets within the content of your website.
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 plugin3,453 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 5 | 28 | 1,330 | 3,274 |
PHP | 3 | 41 | 21 | 179 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
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 | 8 | |
▷ Named functions | 8 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin