Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.46MB] [CPU: ▼0.22ms] Passed 4 tests
A check of server-side resources used by Taro Series
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.94 ▲0.47 | 43.75 ▼0.19 |
Dashboard /wp-admin | 3.76 ▲0.45 | 51.99 ▼2.47 |
Posts /wp-admin/edit.php | 3.81 ▲0.45 | 53.68 ▼0.89 |
Add New Post /wp-admin/post-new.php | 6.42 ▲0.53 | 101.09 ▲8.63 |
Media Library /wp-admin/upload.php | 3.68 ▲0.45 | 38.03 ▲2.68 |
Series /wp-admin/edit.php?post_type=series | 3.72 | 40.97 |
Add New /wp-admin/post-new.php?post_type=series | 6.41 | 85.69 |
Server storage [IO: ▲0.16MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 56 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Taro Series
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,821 ▲60 | 14.69 ▲0.40 | 1.77 ▼0.57 | 46.92 ▲2.48 |
Dashboard /wp-admin | 2,222 ▲42 | 5.59 ▼0.27 | 95.64 ▼3.52 | 43.59 ▼5.15 |
Posts /wp-admin/edit.php | 2,127 ▲27 | 1.95 ▼0.06 | 41.41 ▲2.76 | 35.52 ▼1.27 |
Add New Post /wp-admin/post-new.php | 6,218 ▲4,692 | 18.92 ▼4.63 | 908.30 ▲213.36 | 64.32 ▲13.09 |
Media Library /wp-admin/upload.php | 1,427 ▲33 | 4.19 ▼0.04 | 104.29 ▲1.60 | 45.97 ▼4.10 |
Series /wp-admin/edit.php?post_type=series | 1,110 | 1.96 | 34.82 | 29.89 |
Add New /wp-admin/post-new.php?post_type=series | 1,641 | 17.05 | 845.84 | 31.55 |
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
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking 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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
- 23× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Tarosky\\Series\\Pattern\\DynamicBlockPattern' not found in wp-content/plugins/taro-series/src/Tarosky/Series/Blocks/TocBlock.php:13
- > PHP Fatal error
Uncaught Error: Class 'Tarosky\\Series\\Pattern\\Singleton' not found in wp-content/plugins/taro-series/src/Tarosky/Series/Controller/Setting.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function get_queried_object_id() in wp-content/plugins/taro-series/template-parts/series/item.php:13
- > PHP Fatal error
Uncaught Error: Class 'Tarosky\\Series\\Pattern\\CustomizerPattern' not found in wp-content/plugins/taro-series/src/Tarosky/Series/Customizer/SeriesIndex.php:13
- > PHP Fatal error
Uncaught Error: Class 'Tarosky\\Series\\Pattern\\CustomizerPattern' not found in wp-content/plugins/taro-series/src/Tarosky/Series/Customizer/OrderBy.php:13
- > PHP Fatal error
Uncaught Error: Class 'Tarosky\\Series\\Pattern\\Singleton' not found in wp-content/plugins/taro-series/src/Tarosky/Series/Bootstrap.php:29
- > PHP Fatal error
Uncaught Error: Class 'Tarosky\\Series\\Pattern\\CustomizerPattern' not found in wp-content/plugins/taro-series/src/Tarosky/Series/Customizer/StyleLoading.php:13
- > PHP Fatal error
Uncaught Error: Class 'Tarosky\\Series\\Pattern\\Singleton' not found in wp-content/plugins/taro-series/src/Tarosky/Series/Pattern/RestApi.php:11
- > PHP Fatal error
Uncaught Error: Class 'Tarosky\\Series\\Pattern\\BlockPattern' not found in wp-content/plugins/taro-series/src/Tarosky/Series/Pattern/DynamicBlockPattern.php:9
- > PHP Fatal error
Uncaught Error: Class 'Tarosky\\Series\\Pattern\\CustomizerPattern' not found in wp-content/plugins/taro-series/src/Tarosky/Series/Customizer/Order.php:13
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please fix the following user-side errors
- > GET request to /wp-admin/post-new.php?post_type=series
- > Console-api (warning) in wp-includes/js/dist/deprecated.min.js?ver=73ad3591e7bc95f4777a+1:627
Button isDefault prop is deprecated since version 5.4 and will be removed in version 6.2. Please use variant=\"secondary\" instead.
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
3 plugin tags: posts, series, news
taro-series/taro-series.php 92% from 13 tests
The primary PHP file in "Taro Series" version 1.1.3 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Domain Path: The domain path folder does not exist ("/languages")
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 detected2,703 lines of code in 49 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 36 | 367 | 1,173 | 1,907 |
JavaScript | 7 | 64 | 46 | 586 |
JSON | 4 | 0 | 0 | 149 |
Sass | 1 | 11 | 0 | 60 |
CSS | 1 | 1 | 6 | 1 |
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.37 |
Average class complexity | 7.85 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 2.22 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 8 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 26 | |
▷ Abstract classes | 5 | 19.23% |
▷ Concrete classes | 21 | 80.77% |
▷ Final classes | 0 | 0.00% |
Methods | 147 | |
▷ Static methods | 27 | 18.37% |
▷ Public methods | 84 | 57.14% |
▷ Protected methods | 61 | 41.50% |
▷ Private methods | 2 | 1.36% |
Functions | 40 | |
▷ Named functions | 27 | 67.50% |
▷ Anonymous functions | 13 | 32.50% |
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
All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin