Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.17MB] [CPU: ▼145.64ms] Passed 4 tests
Analyzing server-side resources used by Future Aim Social Comments
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.91 ▲0.19 | 39.80 ▲18.23 |
Dashboard /wp-admin | 3.20 ▲0.15 | 49.65 ▼2.85 |
Posts /wp-admin/edit.php | 3.29 ▲0.19 | 48.02 ▼2.67 |
Add New Post /wp-admin/post-new.php | 5.78 ▲0.35 | 89.98 ▼573.73 |
Media Library /wp-admin/upload.php | 3.16 ▲0.16 | 34.20 ▼3.30 |
Future Aim Social Comment system /wp-admin/options-general.php?page=fafcs-settings | 3.11 | 32.51 |
Server storage [IO: ▲0.20MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 27 new files
Database: no new tables, 1 new option
New WordPress options |
---|
fafcs_options |
Browser metrics Passed 4 tests
A check of browser resources used by Future Aim Social Comments
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,673 ▲36 | 16.25 ▲0.71 | 10.50 ▼0.01 | 50.18 ▲0.95 |
Dashboard /wp-admin | 2,965 ▲34 | 6.08 ▲0.13 | 144.45 ▼13.05 | 99.56 ▼16.17 |
Posts /wp-admin/edit.php | 2,734 ▼5 | 2.72 ▲0.02 | 80.14 ▲4.70 | 84.46 ▼13.06 |
Add New Post /wp-admin/post-new.php | 1,680 ▲65 | 18.44 ▼2.75 | 404.75 ▲92.09 | 117.14 ▲9.03 |
Media Library /wp-admin/upload.php | 1,802 ▼5 | 5.02 ▼0.04 | 158.51 ▲5.52 | 111.88 ▼8.72 |
Future Aim Social Comment system /wp-admin/options-general.php?page=fafcs-settings | 1,412 | 2.21 | 67.61 | 85.32 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
This plugin's uninstaller ran successfully
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following items
- 11× PHP files output non-empty strings when accessed directly via GET requests (only 10 are shown):
- > /wp-content/plugins/future-aim-social-comment-system/includes/class-future-aim-social-comments.php
- > /wp-content/plugins/future-aim-social-comment-system/public/class-fafcs-public.php
- > /wp-content/plugins/future-aim-social-comment-system/public/fafcs-comments.php
- > /wp-content/plugins/future-aim-social-comment-system/includes/class-fafcs-activator.php
- > /wp-content/plugins/future-aim-social-comment-system/admin/partials/fafcs-admin-display.php
- > /wp-content/plugins/future-aim-social-comment-system/uninstall.php
- > /wp-content/plugins/future-aim-social-comment-system/admin/class-fafcs-admin.php
- > /wp-content/plugins/future-aim-social-comment-system/public/fafcs-closed-comments.php
- > /wp-content/plugins/future-aim-social-comment-system/includes/class-fafcs-i18n.php
- > /wp-content/plugins/future-aim-social-comment-system/future-aim-social-comments.php
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/future-aim-social-comment-system/admin/partials/fafcs-admin-credits-tab.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_fields() in wp-content/plugins/future-aim-social-comment-system/admin/partials/fafcs-admin-general-tab.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
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
6 plugin tags: fb comment, fb comments, facebook comments, free, lazy laod...
future-aim-social-comment-system/future-aim-social-comments.php 77% from 13 tests
"Future Aim Social Comments" version 1.0.6's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("future-aim-social-comment-system.php" instead of "future-aim-social-comments.php")
- Description: Please don't use more than 140 characters for the plugin description (currently 149 characters long)
- Text Domain: The text domain should only use lowercase characters and dashes
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 plugin663 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 177 | 666 | 625 |
CSS | 1 | 4 | 9 | 38 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 5.83 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 15.00 |
Average method complexity | 1.78 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 37 | |
▷ Static methods | 1 | 2.70% |
▷ Public methods | 25 | 67.57% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 12 | 32.43% |
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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin