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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.02MB] [CPU: ▼1.56ms] Passed 4 tests
This is a short check of server-side resources used by Tabify Edit Screen
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 38.72 ▲1.36 |
Dashboard /wp-admin | 3.33 ▲0.03 | 49.70 ▲3.33 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 45.62 ▼3.82 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 91.91 ▼7.10 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 36.20 ▲3.67 |
Tabify edit screen /wp-admin/options-general.php?page=tabify-edit-screen | 3.28 | 43.22 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 24 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Tabify Edit Screen
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.45 ▲0.18 | 1.70 ▲0.08 | 38.36 ▲2.35 |
Dashboard /wp-admin | 2,199 ▲19 | 5.57 ▼0.08 | 86.19 ▲0.31 | 38.40 ▼3.98 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.01 ▲0.01 | 36.90 ▼5.03 | 31.27 ▼10.66 |
Add New Post /wp-admin/post-new.php | 1,531 ▼13 | 23.08 ▲5.09 | 583.17 ▼27.89 | 50.62 ▼23.19 |
Media Library /wp-admin/upload.php | 1,407 ▲4 | 4.19 ▲0.04 | 99.48 ▼7.32 | 40.25 ▼1.35 |
Tabify edit screen /wp-admin/options-general.php?page=tabify-edit-screen | 1,614 | 2.86 | 58.43 | 33.83 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means 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 items
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/tabify-edit-screen/tabify-edit-screen.php:45
- > PHP Fatal error
Uncaught Error: Class 'Tabify_Edit_Screen_Settings_Base' not found in wp-content/plugins/tabify-edit-screen/inc/settings-posttype.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
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
8 plugin tags: admin tabs, tabs plugin, edit, posts, post...
tabify-edit-screen/tabify-edit-screen.php Passed 13 tests
The main PHP script in "Tabify Edit Screen" version 1.0.0 is automatically included on every request by WordPress
65 characters long description:
Enables tabs in the edit screen and manage them from the back-end
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin1,533 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 331 | 470 | 991 |
JavaScript | 6 | 62 | 14 | 240 |
CSS | 2 | 43 | 13 | 207 |
PO File | 2 | 26 | 32 | 70 |
JSON | 1 | 0 | 0 | 25 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 19.44 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 40.00 |
Average method complexity | 3.27 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 1 | 11.11% |
▷ Concrete classes | 8 | 88.89% |
▷ Final classes | 0 | 0.00% |
Methods | 69 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 41 | 59.42% |
▷ Protected methods | 7 | 10.14% |
▷ Private methods | 21 | 30.43% |
Functions | 4 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 4 | 100.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
No PNG images were found in this plugin