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.03MB] [CPU: ▼1.64ms] Passed 4 tests
An overview of server-side resources used by Secret Meta
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 42.07 ▲0.36 |
Dashboard /wp-admin | 4.28 ▲0.97 | 51.27 ▼2.13 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 43.44 ▼5.88 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 90.82 ▲1.32 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 38.61 ▲1.09 |
Facebook Secret Meta /wp-admin/options-general.php?page=facebook-secret-meta | 4.11 | 37.82 |
Server storage [IO: ▲0.04MB] [DB: ▲0.19MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Secret Meta
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,885 ▲124 | 14.28 ▲0.07 | 2.18 ▲0.20 | 42.67 ▲5.00 |
Dashboard /wp-admin | 2,285 ▲105 | 5.63 ▼0.07 | 86.34 ▼4.73 | 52.96 ▲12.88 |
Posts /wp-admin/edit.php | 2,115 ▲15 | 1.98 ▲0.02 | 37.39 ▲2.11 | 35.14 ▼2.20 |
Add New Post /wp-admin/post-new.php | 1,549 ▲12 | 18.02 ▼4.92 | 643.58 ▼7.04 | 65.86 ▲14.44 |
Media Library /wp-admin/upload.php | 1,418 ▲18 | 4.36 ▲0.30 | 109.09 ▼7.13 | 49.66 ▼3.20 |
Facebook Secret Meta /wp-admin/options-general.php?page=facebook-secret-meta | 1,448 | 4.67 | 101.00 | 80.92 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.19MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
SRP 50% 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
- 8× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/facebook-secret-meta/facebook-secret-meta.php:17
- > PHP Warning
Use of undefined constant WPINC - assumed 'WPINC' (this will throw an Error in a future version of PHP) in wp-content/plugins/facebook-secret-meta/wpdev-dashboard-widget.php on line 5
- > PHP Warning
include_once(ABSPATHWPINC/feed.php): failed to open stream: No such file or directory in wp-content/plugins/facebook-secret-meta/wpdev-dashboard-widget.php on line 5
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/facebook-secret-meta/wpdev-dashboard-widget.php on line 5
- > PHP Fatal error
Uncaught Error: Call to undefined function wpdev_dashboard_widget_function() in wp-content/plugins/facebook-secret-meta/fbsm-sidebar.php:122
- > PHP Warning
Use of undefined constant FBSM_PLUGIN_URL - assumed 'FBSM_PLUGIN_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/facebook-secret-meta/fbsm-sidebar.php on line 2
- > PHP Warning
include_once(): Failed opening 'ABSPATHWPINC/feed.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/facebook-secret-meta/wpdev-dashboard-widget.php on line 5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/facebook-secret-meta/wpdev-dashboard-widget.php:50
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please fix the following browser errors
- > GET request to /wp-admin/options-general.php?page=facebook-secret-meta
- > Security (warning) in unknown
security - Error with Permissions-Policy header: Unrecognized feature: 'ambient-light-sensor'.
- > GET request to /wp-admin/options-general.php?page=facebook-secret-meta
- > Security (warning) in unknown
security - Error with Permissions-Policy header: Unrecognized feature: 'bluetooth'.
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% 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 require attention:
- Tags: You are using too many tags: 12 tag instead of maximum 10
facebook-secret-meta/facebook-secret-meta.php Passed 13 tests
The entry point to "Secret Meta" version 1.2.1 is a PHP file that has certain tags in its header comment area
86 characters long description:
Only this Secret Meta plugin enables Facebook's brand-new Author By info at News Feed.
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
Everything looks great! No dangerous files found in this plugin310 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 230 | 26 | 310 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
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 | 9 | |
▷ Named functions | 9 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.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.01MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
wpdeveloper-logo-2.png | 15.28KB | 5.27KB | ▼ 65.52% |