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.00MB] [CPU: ▼5.92ms] Passed 4 tests
This is a short check of server-side resources used by Frontend Dashboard Custom Post and Taxonomies
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 26.60 ▲23.09 | 4,652,970.86 ▲4,652,928.87 |
Dashboard /wp-admin | 3.35 ▲0.01 | 53.63 ▼3.20 |
Posts /wp-admin/edit.php | 3.41 ▲0.00 | 50.15 ▼3.24 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.00 | 85.34 ▼16.44 |
Media Library /wp-admin/upload.php | 3.28 ▲0.00 | 37.64 ▼0.81 |
Server storage [IO: ▲0.26MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
Frontend Dashboard Custom Post and Taxonomies: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,801 ▲40 | 14.67 ▲1.53 | 1.73 ▼0.03 | 48.76 ▲4.36 |
Dashboard /wp-admin | 2,204 ▲27 | 5.55 ▼0.07 | 85.71 ▼36.42 | 39.16 ▼11.80 |
Posts /wp-admin/edit.php | 2,110 ▲10 | 1.99 ▲0.02 | 35.42 ▼0.25 | 36.33 ▲1.47 |
Add New Post /wp-admin/post-new.php | 1,538 ▲10 | 23.26 ▼0.05 | 697.15 ▲74.56 | 57.35 ▼11.74 |
Media Library /wp-admin/upload.php | 1,412 ▲15 | 4.18 ▼0.07 | 96.08 ▼6.77 | 45.94 ▼0.73 |
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
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Almost there! Just fix the following items
- 4× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/frontend-dashboard-custom-post/menu/class-fed-cp-custom-posts.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/frontend-dashboard-custom-post/menu/class-fed-cp-taxonomies.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/frontend-dashboard-custom-post/menu/class-fed-cp-menu.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/frontend-dashboard-custom-post/functions.php:6
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Please fix the following attributes:
- Screenshots: Please a description for screenshot #13 in frontend-dashboard-custom-post/assets to your readme.txt
frontend-dashboard-custom-post/frontend-dashboard-custom-post.php Passed 13 tests
The entry point to "Frontend Dashboard Custom Post and Taxonomies" version 1.5.10 is a PHP file that has certain tags in its header comment area
97 characters long description:
Frontend Dashboard Custom Post is a plugin to show the custom post inside the Frontend Dashboard.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin4,844 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 253 | 517 | 3,972 |
PO File | 2 | 326 | 332 | 713 |
JavaScript | 1 | 15 | 0 | 156 |
CSS | 1 | 0 | 0 | 3 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.71 |
Average class complexity | 104.67 |
▷ Minimum class complexity | 63.00 |
▷ Maximum class complexity | 186.00 |
Average method complexity | 8.40 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 34.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 42 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 30 | 71.43% |
▷ Protected methods | 8 | 19.05% |
▷ Private methods | 4 | 9.52% |
Functions | 22 | |
▷ Named functions | 21 | 95.45% |
▷ Anonymous functions | 1 | 4.55% |
Constants | 6 | |
▷ Global constants | 6 | 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
No PNG images were found in this plugin