Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▼0.01MB] [CPU: ▼4.24ms] Passed 4 tests
Server-side resources used by Taknalogy Reviews
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 40.46 ▲3.29 |
Dashboard /wp-admin | 3.31 ▼0.04 | 47.02 ▼16.51 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 50.67 ▼2.45 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 93.39 ▼1.28 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 39.91 ▲5.20 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Taknalogy Reviews
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲54 | 13.28 ▼0.95 | 2.16 ▲0.46 | 44.37 ▲1.35 |
Dashboard /wp-admin | 2,221 ▲18 | 4.93 ▲0.04 | 106.04 ▼9.87 | 38.86 ▼5.88 |
Posts /wp-admin/edit.php | 2,103 ▲3 | 2.02 ▲0.02 | 39.85 ▲1.60 | 34.35 ▼2.56 |
Add New Post /wp-admin/post-new.php | 1,548 ▲22 | 23.31 ▲5.70 | 596.79 ▼99.19 | 48.70 ▼12.31 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.26 ▲0.08 | 105.63 ▼6.32 | 49.01 ▲6.65 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for 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 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/taknalogy-reviews/functions.php:37
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post_meta() in wp-content/plugins/taknalogy-reviews/templates/single-product-reviews.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that need to be fixed:
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== taknalogy-reviews ===
)
taknalogy-reviews/taknalogy-reviews.php 92% from 13 tests
The main PHP file in "Taknalogy Reviews" ver. 1.2.4 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:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 217 characters long)
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
No dangerous file extensions were detected757 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 47 | 286 | 634 |
CSS | 1 | 3 | 7 | 64 |
JavaScript | 2 | 0 | 5 | 59 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 17.67 |
▷ Minimum class complexity | 12.00 |
▷ Maximum class complexity | 25.00 |
Average method complexity | 3.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 3 | 100.00% |
Methods | 20 | |
▷ Static methods | 5 | 25.00% |
▷ Public methods | 20 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 15 | |
▷ Named functions | 15 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 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
There were not PNG files found in your plugin