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
Please fix the following installer errors
- Install procedure had errors
- > Deprecated in wp-content/plugins/kento-latest-tabs/index.php+34
Methods with the same name as their class will not be constructors in a future version of PHP; Kento_Latest_Tabs_Plugin has a deprecated constructor
Server metrics [RAM: ▼1.84MB] [CPU: ▼55.65ms] Passed 4 tests
This is a short check of server-side resources used by Latest Tabs
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.14 ▼1.32 | 4.70 ▼32.48 |
Dashboard /wp-admin | 2.16 ▼1.14 | 5.52 ▼51.62 |
Posts /wp-admin/edit.php | 2.16 ▼1.19 | 7.63 ▼43.26 |
Add New Post /wp-admin/post-new.php | 2.16 ▼3.72 | 6.32 ▼95.24 |
Media Library /wp-admin/upload.php | 2.16 ▼1.06 | 5.76 ▼29.56 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] 67% from 3 tests
Analyzing filesystem and database footprints of this plugin
These are issues you should consider
- Illegal file modification found: 1 file (4.00KB) outside of "wp-content/plugins/kento-latest-tabs/" and "wp-content/uploads/"
- (new file) wp-content/mgd_mirror/mgd_maximinodotpy-gitdown-test-repository
Filesystem: 9 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
widget_kento-latest-tabs-widget |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Latest Tabs
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,961 ▲200 | 13.78 ▼0.59 | 5.81 ▲4.05 | 39.21 ▼0.56 |
Dashboard /wp-admin | 2,253 ▲46 | 5.16 ▲0.23 | 106.97 ▼0.71 | 38.85 ▼7.91 |
Posts /wp-admin/edit.php | 2,137 ▲37 | 2.31 ▲0.27 | 40.75 ▲2.58 | 38.25 ▲0.14 |
Add New Post /wp-admin/post-new.php | 1,553 ▲22 | 23.22 ▲0.11 | 607.93 ▼75.99 | 33.99 ▼22.82 |
Media Library /wp-admin/upload.php | 1,438 ▲38 | 4.45 ▲0.27 | 101.35 ▼14.46 | 45.59 ▼4.04 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- This plugin did not uninstall without warnings or errors
- > Deprecated in wp-content/plugins/kento-latest-tabs/index.php+34
Methods with the same name as their class will not be constructors in a future version of PHP; Kento_Latest_Tabs_Plugin has a deprecated constructor
- This plugin did not uninstall successfully, leaving 7 options in the database
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- widget_kento-latest-tabs-widget
- db_upgraded
- can_compress_scripts
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 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Almost there! Just fix the following items
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/kento-latest-tabs/index.php
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 undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
9 plugin tags: latest comments, popular posts, jquery tabs, sidebar post tabs, sidebar tabs...
kento-latest-tabs/index.php 92% from 13 tests
This is the main PHP file of "Latest Tabs" version 1.4, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("kento-latest-tabs.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin561 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 50 | 27 | 329 |
CSS | 1 | 9 | 21 | 217 |
JavaScript | 2 | 1 | 1 | 15 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 41.00 |
▷ Minimum class complexity | 41.00 |
▷ Maximum class complexity | 41.00 |
Average method complexity | 11.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 39.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 | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.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
3 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
css/images/no-thumb.png | 1.46KB | 0.78KB | ▼ 46.89% |
css/images/separate.png | 15.46KB | 8.63KB | ▼ 44.18% |
css/images/images.png | 4.68KB | 3.56KB | ▼ 23.95% |