Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.13MB] [CPU: ▼4.35ms] Passed 4 tests
Server-side resources used by AtticThemes: Social Feed
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.13 | 41.18 ▼6.85 |
Dashboard /wp-admin | 3.44 ▲0.14 | 46.31 ▲0.69 |
Posts /wp-admin/edit.php | 3.55 ▲0.20 | 53.78 ▲4.94 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.13 | 85.90 ▼14.30 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 39.10 ▲3.08 |
Instagram /wp-admin/options-general.php?page=atsf-instagram | 3.42 | 252.91 |
Dribbble /wp-admin/options-general.php?page=atsf-dribbble | 3.34 | 280.06 |
Server storage [IO: ▲0.23MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 15 new files
Database: no new tables, 10 new options
New WordPress options |
---|
widget_atsf_dribbble |
atsf_dribbble_cache_expire_time |
atsf_instagram_cache_expire_time |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
widget_atsf_instagram |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for AtticThemes: Social Feed
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,812 ▲55 | 13.29 ▼1.00 | 5.74 ▲3.63 | 40.00 ▼5.19 |
Dashboard /wp-admin | 2,216 ▲28 | 4.80 ▼1.09 | 100.60 ▼5.98 | 41.34 ▼3.45 |
Posts /wp-admin/edit.php | 2,099 ▲7 | 2.05 ▲0.01 | 34.48 ▼10.91 | 35.58 ▲1.18 |
Add New Post /wp-admin/post-new.php | 1,522 ▼14 | 17.67 ▼5.56 | 675.47 ▼6.37 | 56.23 ▼5.28 |
Media Library /wp-admin/upload.php | 1,398 ▲16 | 4.19 ▼0.01 | 94.50 ▼12.07 | 42.24 ▼1.70 |
Instagram /wp-admin/options-general.php?page=atsf-instagram | 820 | 1.99 | 21.96 | 24.33 |
Dribbble /wp-admin/options-general.php?page=atsf-dribbble | 814 | 2.02 | 24.80 | 24.64 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- The uninstall procedure has failed, leaving 10 options in the database
- widget_atsf_dribbble
- widget_recent-posts
- widget_theysaidso_widget
- atsf_dribbble_cache_expire_time
- theysaidso_admin_options
- widget_atsf_instagram
- atsf_instagram_cache_expire_time
- db_upgraded
- 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
Even though no errors were found, this is by no means an exhaustive test
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-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Cannot access self:: when no class scope is active in wp-content/plugins/atticthemes-social-feed/includes/dribbble/settings.php:4
- > PHP Fatal error
Uncaught Error: Cannot access self:: when no class scope is active in wp-content/plugins/atticthemes-social-feed/includes/instagram/settings.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/atticthemes-social-feed/atticthemes-social-feed.php:119
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/atticthemes-social-feed/includes/instagram/widget.php:2
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/atticthemes-social-feed/includes/dribbble/widget.php:2
- > PHP Fatal error
Uncaught Error: Class 'AtticThemes_SocialFeed' not found in wp-content/plugins/atticthemes-social-feed/includes/instagram/class.php:4
- > PHP Fatal error
Uncaught Error: Class 'AtticThemes_SocialFeed' not found in wp-content/plugins/atticthemes-social-feed/includes/dribbble/class.php:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 93% 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
Attributes that require attention:
- Screenshots: These screenshots do not have images: #1 (**Instagram Settings Page - Disconnected**.), #2 (**Instagram Settings Page - Connected**.)
atticthemes-social-feed/atticthemes-social-feed.php 92% from 13 tests
Analyzing the main PHP file in "AtticThemes: Social Feed" version 1.0.1
Please take the time to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 256 characters long)
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
Good job! No executable or dangerous file extensions detected1,010 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 368 | 445 | 762 |
CSS | 4 | 101 | 0 | 223 |
SVG | 1 | 3 | 0 | 25 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 21.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 41.00 |
Average method complexity | 3.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 43 | |
▷ Static methods | 35 | 81.40% |
▷ Public methods | 39 | 90.70% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 9.30% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 24 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 24 | 100.00% |
▷ Public constants | 24 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
2 PNG files occupy 0.17MB with 0.12MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 111.17KB | 31.63KB | ▼ 71.55% |
screenshot-1.png | 64.64KB | 17.87KB | ▼ 72.35% |