Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼4.20ms] Passed 4 tests
An overview of server-side resources used by FG Fix Serialized Strings
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 39.37 ▼5.33 |
Dashboard /wp-admin | 3.33 ▲0.03 | 48.46 ▼0.23 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 49.19 ▲0.34 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 87.02 ▼11.56 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 36.62 ▲2.71 |
Fix Serialized Strings /wp-admin/tools.php?page=fg-fix-serialized-strings | 3.22 | 31.35 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
FG Fix Serialized Strings: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 13.27 ▼1.01 | 1.55 ▼0.68 | 40.72 ▲1.21 |
Dashboard /wp-admin | 2,204 ▲19 | 5.83 ▼0.04 | 100.09 ▼4.39 | 39.19 ▼6.16 |
Posts /wp-admin/edit.php | 2,090 ▲1 | 2.02 ▲0.03 | 37.75 ▼5.24 | 34.55 ▼2.14 |
Add New Post /wp-admin/post-new.php | 1,541 ▲8 | 23.20 ▼0.18 | 657.81 ▲55.93 | 52.10 ▼21.13 |
Media Library /wp-admin/upload.php | 1,389 ▲1 | 4.33 ▲0.08 | 109.48 ▲9.28 | 47.53 ▲4.88 |
Fix Serialized Strings /wp-admin/tools.php?page=fg-fix-serialized-strings | 766 | 2.05 | 23.65 | 26.16 |
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
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- 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 no errors were found, this is by no means an exhaustive test
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
The following issues need your attention
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/fg-fix-serialized-strings/fg-fix-serialized-strings.tpl.php:1
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
5 plugin tags: serialized, widgets, wp_options, fix, unserialized
fg-fix-serialized-strings/fg-fix-serialized-strings.php Passed 13 tests
The main file in "FG Fix Serialized Strings" v. 1.2.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
68 characters long description:
Fix the broken serialized strings in the options and postmeta tables
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected168 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 15 | 47 | 118 |
PO File | 1 | 8 | 8 | 50 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 16.00 |
▷ Minimum class complexity | 16.00 |
▷ Maximum class complexity | 16.00 |
Average method complexity | 2.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 9 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 3 | 33.33% |
▷ Protected methods | 1 | 11.11% |
▷ Private methods | 5 | 55.56% |
Functions | 1 | |
▷ Named functions | 1 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin