Benchmarks
Plugin footprint 75% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
These installer errors require your attention
- Install procedure validation failed for this plugin
- > Notice in wp-content/plugins/instant-feedback/DBFunctions.php+4
Undefined variable: wpdb
Server metrics [RAM: ▲0.13MB] [CPU: ▼293.99ms] Passed 4 tests
This is a short check of server-side resources used by MyEffecto-Instant Emotion Reaction
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.74 ▲0.22 | 53.57 ▼0.20 |
Dashboard /wp-admin | 3.57 ▲0.16 | 36.01 ▲1.46 |
Posts /wp-admin/edit.php | 3.79 ▲0.16 | 41.94 ▲4.22 |
Add New Post /wp-admin/post-new.php | 7.02 ▲0.05 | 100.76 ▼1,176.74 |
Media Library /wp-admin/upload.php | 3.45 ▲0.15 | 24.71 ▼0.48 |
MyEffecto /wp-admin/options-general.php?page=eff_conf_nav | 3.44 | 42.13 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 12 new files
Database: 1 new table, 1 new option
New tables |
---|
wp_effecto |
New WordPress options |
---|
effecto_db_version |
Browser metrics Passed 4 tests
Checking browser requirements for MyEffecto-Instant Emotion Reaction
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,768 ▲23 | 15.92 ▲0.14 | 5.75 ▼0.15 | 2.28 ▲0.09 |
Dashboard /wp-admin | 2,893 ▲38 | 6.09 ▼0.05 | 116.94 ▼23.02 | 156.92 ▼19.45 |
Posts /wp-admin/edit.php | 2,693 ▲2 | 3.24 ▲0.01 | 64.45 ▼0.74 | 140.49 ▼5.50 |
Add New Post /wp-admin/post-new.php | 1,723 ▲62 | 17.55 ▲1.17 | 439.79 ▲13.22 | 175.01 ▲16.66 |
Media Library /wp-admin/upload.php | 1,703 ▲5 | 5.53 ▲0.02 | 156.42 ▲8.14 | 190.07 ▼0.76 |
MyEffecto /wp-admin/options-general.php?page=eff_conf_nav | 606 | 2.00 | 67.74 | 108.47 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The plugin uninstalled successfully, without leaving any zombie files or tables
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Almost there, just fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=eff_conf_nav
- > request to
- > Notice in wp-config.php+20
Undefined index: REQUEST_METHOD
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
- 12× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/instant-feedback/advanceSetting.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/instant-feedback/configEmo.php:22
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/instant-feedback/PostConfiguration.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function getMyEffectoPluginDetails() in wp-content/plugins/instant-feedback/effecto_admin.php:5
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/instant-feedback/DBFunctions.php on line 4
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/instant-feedback/DBFunctions.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/instant-feedback/pluginSetting.php:4
- > PHP Notice
Undefined variable: wpdb in wp-content/plugins/instant-feedback/DBFunctions.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/instant-feedback/PostConfiguration.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function admin_url() in wp-content/plugins/instant-feedback/editExisting.php:4
- > 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 96% from 29 tests
readme.txt Passed 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
5 plugin tags: facebook, like, emotion, reaction, facebook reaction
instant-feedback/MyEffecto.php 92% from 13 tests
The main PHP file in "MyEffecto-Instant Emotion Reaction" ver. 3.93 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("instant-feedback.php" instead of "MyEffecto.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected1,530 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 325 | 161 | 1,369 |
JavaScript | 2 | 21 | 11 | 161 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
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 | 48 | |
▷ Named functions | 48 | 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
No PNG images were found in this plugin