Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼3.52ms] Passed 4 tests
An overview of server-side resources used by Scribit.Pro
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 39.72 ▲1.99 |
Dashboard /wp-admin | 3.31 ▲0.00 | 45.17 ▼6.96 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 45.16 ▼0.40 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 93.92 ▼2.83 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 32.75 ▼3.89 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 32 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Scribit.Pro
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,790 ▲28 | 14.33 ▼0.38 | 1.83 ▼0.09 | 43.39 ▼0.27 |
Dashboard /wp-admin | 2,198 ▲20 | 5.63 ▼0.05 | 93.38 ▼20.80 | 43.91 ▼2.73 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.95 ▼0.06 | 39.28 ▲1.81 | 35.54 ▼3.78 |
Add New Post /wp-admin/post-new.php | 1,525 ▼1 | 23.46 ▲0.54 | 642.47 ▼92.94 | 58.29 ▲3.57 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.20 ▲0.02 | 96.45 ▼19.07 | 42.65 ▼6.55 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not 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
- 6× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.0.0". You are running 7.4.16. in wp-content/plugins/scribit-pro/vendor/composer/platform_check.php on line 24
- > PHP Fatal error
Uncaught Error: Interface 'Scribit\\WordPress\\IframeReplacers\\Replacer' not found in wp-content/plugins/scribit-pro/src/IframeReplacers/Regex.php:10
- > PHP Fatal error
Uncaught Error: Interface 'Scribit\\WordPress\\Settings\\Setting' not found in wp-content/plugins/scribit-pro/src/Settings/WidgetWrapper.php:16
- > PHP Fatal error
Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.0.0". You are running 7.4.16. in wp-content/plugins/scribit-pro/vendor/composer/platform_check.php on line 24
- > PHP Fatal error
Uncaught Error: Interface 'Scribit\\WordPress\\Settings\\Setting' not found in wp-content/plugins/scribit-pro/src/Settings/ScribitID.php:11
- > PHP Fatal error
Uncaught Error: Interface 'Scribit\\WordPress\\IframeReplacers\\Replacer' not found in wp-content/plugins/scribit-pro/src/IframeReplacers/Dom.php:14
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
6 plugin tags: accessibility, embeds, youtube, video, vimeo...
scribit-pro/plugin.php 85% from 13 tests
"Scribit.Pro" version 1.0.3's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
It is important to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("scribit-pro.php" instead of "plugin.php")
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected956 lines of code in 26 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 24 | 274 | 497 | 945 |
JSON | 2 | 0 | 0 | 11 |
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.47 |
Average class complexity | 9.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 48.00 |
Average method complexity | 2.97 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 5 | |
Interfaces | 2 | |
Traits | 0 | |
Classes | 13 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 13 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 68 | |
▷ Static methods | 24 | 35.29% |
▷ Public methods | 62 | 91.18% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 8.82% |
Functions | 2 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 2 | 100.00% |
Constants | 7 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 7 | 100.00% |
▷ Public constants | 4 | 57.14% |
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