Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼9.59ms] Passed 4 tests
An overview of server-side resources used by Simple Like Page Plugin
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 37.83 ▼3.00 |
Dashboard /wp-admin | 3.38 ▲0.04 | 46.94 ▼17.42 |
Posts /wp-admin/edit.php | 3.50 ▲0.14 | 46.10 ▼2.86 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 84.95 ▼15.07 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 35.76 ▲2.90 |
Server storage [IO: ▲0.40MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
widget_sfp_page_plugin_widget |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Simple Like Page Plugin
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,828 ▲56 | 14.21 ▼0.14 | 1.98 ▼0.06 | 38.53 ▼5.60 |
Dashboard /wp-admin | 2,211 ▲31 | 5.63 ▼0.01 | 89.18 ▼13.40 | 43.46 ▲0.69 |
Posts /wp-admin/edit.php | 2,113 ▲13 | 1.94 ▼0.19 | 40.23 ▲6.34 | 39.07 ▲1.97 |
Add New Post /wp-admin/post-new.php | 1,539 ▲13 | 23.43 ▲0.67 | 640.79 ▼8.63 | 58.34 ▲2.01 |
Media Library /wp-admin/upload.php | 1,410 ▲10 | 4.16 ▼0.11 | 103.50 ▲0.07 | 42.49 ▲1.20 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- Zombie WordPress options were found after uninstall: 7 options
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- widget_sfp_page_plugin_widget
- theysaidso_admin_options
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
The smoke test was a success, however most plugin functionality was not tested
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
Please fix the following
- 10× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/simple-facebook-plugin/simple-facebook-plugin.php:43
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/simple-facebook-plugin/views/view-page-plugin.php:11
- > PHP Notice
Undefined variable: small_header in wp-content/plugins/simple-facebook-plugin/views/view-page-plugin.php on line 5
- > PHP Notice
Undefined variable: events in wp-content/plugins/simple-facebook-plugin/views/view-page-plugin.php on line 7
- > PHP Notice
Undefined variable: messages in wp-content/plugins/simple-facebook-plugin/views/view-page-plugin.php on line 8
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/simple-facebook-plugin/lib/sfp-page-plugin.php:19
- > PHP Notice
Undefined variable: hide_cover in wp-content/plugins/simple-facebook-plugin/views/view-page-plugin.php on line 3
- > PHP Notice
Undefined variable: timeline in wp-content/plugins/simple-facebook-plugin/views/view-page-plugin.php on line 6
- > PHP Notice
Undefined variable: show_facepile in wp-content/plugins/simple-facebook-plugin/views/view-page-plugin.php on line 4
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/simple-facebook-plugin/views/view-menu.php:6
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that need to be fixed:
- Screenshots: Please add images for these screenshots: #1 (Widget in the dashboard.), #2 (Simple Widget on your website.), #3 (Widget with posts on your website.)
- Tags: There are too many tags (13 tag instead of maximum 10)
simple-facebook-plugin/simple-facebook-plugin.php Passed 13 tests
The principal PHP file in "Simple Like Page Plugin" v. 1.5.2 is loaded by WordPress automatically on each request
72 characters long description:
Allows you to integrate Facebook "Page Plugin" into your WordPress Site.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected482 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 137 | 166 | 431 |
CSS | 1 | 0 | 0 | 51 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
Average class complexity | 10.00 |
▷ Minimum class complexity | 10.00 |
▷ Maximum class complexity | 10.00 |
Average method complexity | 1.90 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 20 | |
▷ Static methods | 1 | 5.00% |
▷ Public methods | 18 | 90.00% |
▷ Protected methods | 2 | 10.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 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
4 PNG files occupy 0.38MB with 0.17MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 111.26KB | 40.59KB | ▼ 63.51% |
screenshot-3.png | 170.36KB | 59.11KB | ▼ 65.30% |
screenshot-1.png | 103.43KB | 44.98KB | ▼ 56.51% |
lib/img/help_icon.png | 0.75KB | 0.79KB | 0.00% |