Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.16MB] [CPU: ▼3.32ms] Passed 4 tests
An overview of server-side resources used by Independent Favorite Plugins
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 38.82 ▼2.92 |
Dashboard /wp-admin | 3.57 ▲0.22 | 52.41 ▼8.22 |
Posts /wp-admin/edit.php | 3.62 ▲0.26 | 50.19 ▼0.86 |
Add New Post /wp-admin/post-new.php | 6.09 ▲0.20 | 86.33 ▼1.29 |
Media Library /wp-admin/upload.php | 3.43 ▲0.20 | 36.63 ▲3.46 |
Favorite Plugins Settings /wp-admin/options-general.php?page=i-favorite-plugins-config | 3.43 | 35.90 |
Export favorite plugins /wp-admin/tools.php?page=i-export-favorite-plugins | 3.40 | 30.15 |
Server storage [IO: ▲0.63MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 20 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
i_fv_admin_options_name |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Independent Favorite Plugins
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,808 ▲73 | 14.48 ▲0.12 | 1.78 ▼0.18 | 40.82 ▼8.00 |
Dashboard /wp-admin | 2,214 ▲26 | 5.86 ▲1.01 | 107.86 ▼13.18 | 40.66 ▼1.40 |
Posts /wp-admin/edit.php | 2,100 ▲11 | 2.05 ▲0.04 | 39.59 ▲1.98 | 35.83 ▲3.13 |
Add New Post /wp-admin/post-new.php | 1,525 ▲5 | 23.22 ▲0.24 | 631.16 ▼41.75 | 52.43 ▼5.36 |
Media Library /wp-admin/upload.php | 1,387 ▼1 | 4.20 ▼0.03 | 97.35 ▼6.52 | 41.13 ▼4.71 |
Favorite Plugins Settings /wp-admin/options-general.php?page=i-favorite-plugins-config | 1,112 | 3.17 | 39.28 | 64.49 |
Export favorite plugins /wp-admin/tools.php?page=i-export-favorite-plugins | 810 | 2.09 | 24.14 | 25.25 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
- 6× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Trait 'i_fv_Singleton' not found in wp-content/plugins/independent-favorite-plugins/includes/class.i-favorite-plugins-page.php on line 7
- > PHP Fatal error
Trait 'i_fv_Singleton' not found in wp-content/plugins/independent-favorite-plugins/includes/class.i-favorite-plugins-log.php on line 3
- > PHP Fatal error
Trait 'i_fv_Singleton' not found in wp-content/plugins/independent-favorite-plugins/includes/class.independent-favorite-plugins.php on line 4
- > PHP Fatal error
Trait 'i_fv_Singleton' not found in wp-content/plugins/independent-favorite-plugins/includes/class.i-favorite-plugins-admin.php on line 5
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/independent-favorite-plugins/independent-favorite-plugins.php:29
- > PHP Fatal error
Trait 'i_fv_Singleton' not found in wp-content/plugins/independent-favorite-plugins/class.i-favorite-plugins-settings.php on line 4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration Passed 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: favorite plugins, like plugin, independent, autonomous, plugin to favorites...
independent-favorite-plugins/independent-favorite-plugins.php Passed 13 tests
The main file in "Independent Favorite Plugins" v. 1.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
102 characters long description:
Add plugins to favorite. Can work with plugins which aren't present on wordpress.org or other websites
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
No dangerous file extensions were detected1,058 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 137 | 311 | 900 |
PO File | 1 | 38 | 47 | 104 |
JavaScript | 2 | 3 | 5 | 45 |
CSS | 1 | 1 | 0 | 9 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 15.29 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 54.00 |
Average method complexity | 2.96 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 1 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 51 | |
▷ Static methods | 2 | 3.92% |
▷ Public methods | 37 | 72.55% |
▷ Protected methods | 14 | 27.45% |
▷ 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
2 compressed PNG files occupy 0.00MB
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/stars.png | 0.90KB | 1.07KB | 0.00% |
images/stars-2x.png | 1.23KB | 1.54KB | 0.00% |