Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The following installer errors require your attention
- The plugin did not install without errors
- > Deprecated in wp-content/plugins/functionscapacitor/functionscapacitor.php+12
Methods with the same name as their class will not be constructors in a future version of PHP; functionsCapacitor has a deprecated constructor
Server metrics [RAM: ▼1.69MB] [CPU: ▼54.12ms] Passed 4 tests
Server-side resources used by functionsCapacitor
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.30 ▼1.16 | 4.98 ▼42.79 |
Dashboard /wp-admin | 2.32 ▼0.99 | 8.06 ▼48.53 |
Posts /wp-admin/edit.php | 2.32 ▼1.04 | 9.17 ▼39.22 |
Add New Post /wp-admin/post-new.php | 2.32 ▼3.57 | 7.81 ▼85.93 |
Media Library /wp-admin/upload.php | 2.32 ▼0.91 | 8.14 ▼27.05 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 2 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
widget_functionscapacitor_widget |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
functionsCapacitor: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.31 ▼1.27 | 1.61 ▼0.16 | 41.04 ▼2.64 |
Dashboard /wp-admin | 2,206 ▲21 | 5.77 ▼0.13 | 95.88 ▼9.94 | 42.98 ▼0.68 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.05 ▲0.04 | 40.85 ▲2.27 | 34.45 ▼3.49 |
Add New Post /wp-admin/post-new.php | 1,533 ▼1 | 23.12 ▼0.06 | 663.31 ▲37.95 | 60.37 ▲4.56 |
Media Library /wp-admin/upload.php | 1,388 ▼3 | 4.14 ▲0.01 | 96.67 ▼4.09 | 41.20 ▼2.47 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- Uninstall procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/functionscapacitor/functionscapacitor.php+12
Methods with the same name as their class will not be constructors in a future version of PHP; functionsCapacitor has a deprecated constructor
- This plugin does not fully uninstall, leaving 7 options in the database
- can_compress_scripts
- db_upgraded
- widget_functionscapacitor_widget
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_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
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just fix the following items
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/functionscapacitor/functionscapacitor.php:920
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Tags: Please reduce the number of tags, currently 17 tag instead of maximum 10
functionscapacitor/functionscapacitor.php Passed 13 tests
The entry point to "functionsCapacitor" version 0.9.6 is a PHP file that has certain tags in its header comment area
136 characters long description:
Back WordPress API to the content. This plugin allow to apply some WordPress API's functions into your post/page content or as a widget.
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
Everything looks great! No dangerous files found in this plugin914 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 102 | 30 | 914 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.51 |
Average class complexity | 88.00 |
▷ Minimum class complexity | 19.00 |
▷ Maximum class complexity | 157.00 |
Average method complexity | 7.96 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 39.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 | 25 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 25 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
No PNG files were detected