Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Please fix the following installer errors
- This plugin did not install gracefully
- > Error in wp-content/plugins/eazy-twitter-cards/eazy-twitter-cards-action.php+5
Uncaught Error: Call to undefined function get_field() in wp-content/plugins/eazy-twitter-cards/eazy-twitter-cards-action.php:5
Stack trace:
#0 wp-content/plugins/eazy-twitter-cards/eazy-twitter-cards.php(720): twittermeta()
#1 wp-admin/includes/plugin.php(2318): include_once('/var/www/wordpr...')
#2 wp-admin/includes/plugin.php(663): plugin_sandbox_scrape()
Server metrics [RAM: ▼0.01MB] [CPU: ▼4.63ms] Passed 4 tests
Analyzing server-side resources used by Eazy Twitter Cards For Posts
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 39.74 ▲3.74 |
Dashboard /wp-admin | 3.31 ▼0.04 | 47.19 ▼8.30 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 46.56 ▲2.12 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 80.24 ▼13.94 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 35.80 ▲1.60 |
Server storage [IO: ▲0.51MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
Eazy Twitter Cards For Posts: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 14.74 ▲0.37 | 1.83 ▲0.33 | 44.06 ▲1.21 |
Dashboard /wp-admin | 2,206 ▲14 | 4.85 ▼0.24 | 114.01 ▲4.67 | 42.49 ▲0.40 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 1.99 ▼0.03 | 36.42 ▼0.42 | 32.70 ▲0.29 |
Add New Post /wp-admin/post-new.php | 1,541 ▲8 | 18.19 ▼4.67 | 604.57 ▼39.90 | 50.04 ▼6.61 |
Media Library /wp-admin/upload.php | 1,385 ▼6 | 4.19 ▼0.01 | 96.25 ▼3.74 | 43.54 ▼5.42 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
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
Please fix the following items
- 3× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/eazy-twitter-cards/eazy-twitter-cards-action.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function the_field() in wp-content/plugins/eazy-twitter-cards/eazy-twitter-meta.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/eazy-twitter-cards/eazy-twitter-cards-action.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Please fix the following attributes:
- Screenshots: These screenshots require images: #1 (These are the Twitter Cards available to choose from.), #2 (All options for all Twitter Cards.)
eazy-twitter-cards/eazy-twitter-cards.php 92% from 13 tests
The entry point to "Eazy Twitter Cards For Posts" version 1.0 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 164 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin811 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 20 | 11 | 808 |
CSS | 1 | 0 | 0 | 3 |
PHP code Passed 2 tests
An short overview of 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.21 |
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 | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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