Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The following installer errors require your attention
- Install procedure had errors
- > Deprecated in wp-content/plugins/creative-facebook-like-box/creative-facebook-like-box.php+30
Methods with the same name as their class will not be constructors in a future version of PHP; cflbox_info has a deprecated constructor
Server metrics [RAM: ▼1.92MB] [CPU: ▼59.23ms] Passed 4 tests
Analyzing server-side resources used by Creative Like Box
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.08 ▼1.39 | 5.34 ▼41.83 |
Dashboard /wp-admin | 2.10 ▼1.25 | 7.27 ▼53.66 |
Posts /wp-admin/edit.php | 2.10 ▼1.26 | 7.38 ▼43.99 |
Add New Post /wp-admin/post-new.php | 2.10 ▼3.79 | 6.60 ▼97.44 |
Media Library /wp-admin/upload.php | 2.10 ▼1.13 | 6.93 ▼32.43 |
Server storage [IO: ▲0.14MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 3 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_cflbox_info |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Creative Like Box
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,817 ▲71 | 13.36 ▼1.04 | 5.33 ▲3.59 | 45.07 ▲4.13 |
Dashboard /wp-admin | 2,226 ▲38 | 4.84 ▼0.96 | 106.86 ▲0.30 | 44.16 ▼0.94 |
Posts /wp-admin/edit.php | 2,106 ▲20 | 2.02 ▲0.06 | 37.31 ▼1.82 | 36.37 ▼2.36 |
Add New Post /wp-admin/post-new.php | 1,547 ▲33 | 23.39 ▲5.80 | 678.10 ▼13.56 | 57.98 ▼0.04 |
Media Library /wp-admin/upload.php | 1,405 ▲14 | 4.22 ▼0.02 | 102.41 ▼14.25 | 48.78 ▲1.51 |
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
Please fix the following items
- This plugin did not uninstall without warnings or errors
- > Deprecated in wp-content/plugins/creative-facebook-like-box/creative-facebook-like-box.php+30
Methods with the same name as their class will not be constructors in a future version of PHP; cflbox_info has a deprecated constructor
- Zombie WordPress options detected upon uninstall: 7 options
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- widget_cflbox_info
- db_upgraded
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/creative-facebook-like-box/creative-facebook-like-box.php:19
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Please fix the following attributes:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Screenshot_1.png), #2 ()
- Donate link: Please fix this invalid url: "paypal.me/mnaotech"
creative-facebook-like-box/creative-facebook-like-box.php Passed 13 tests
The main PHP script in "Creative Like Box" version 2.2 is automatically included on every request by WordPress
102 characters long description:
This is a simple Facebook Like Box Plugin. By this plugin you can add a widget for your Facebook page.
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
Good job! No executable or dangerous file extensions detected71 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 38 | 13 | 71 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 16.00 |
▷ Minimum class complexity | 16.00 |
▷ Maximum class complexity | 16.00 |
Average method complexity | 4.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 PNG file occupies 0.14MB with 0.11MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/Screenshot_1.png | 141.09KB | 32.69KB | ▼ 76.83% |