Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.12MB] [CPU: ▼10.53ms] Passed 4 tests
This is a short check of server-side resources used by Career Section
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.62 ▲0.15 | 35.87 ▼4.80 |
Dashboard /wp-admin | 3.44 ▲0.09 | 44.00 ▼12.86 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 45.08 ▼8.94 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.13 | 82.29 ▼15.52 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 33.82 ▲0.76 |
CS Tags /wp-admin/edit-tags.php?taxonomy=cs_tag&post_type=csection | 3.35 | 33.62 |
All CSection /wp-admin/edit.php?post_type=csection | 3.40 | 37.91 |
View Entries /wp-admin/edit.php?post_type=csection&page=appform | 3.33 | 30.70 |
CS Categories /wp-admin/edit-tags.php?taxonomy=csection_cat&post_type=csection | 3.35 | 33.24 |
Add New /wp-admin/post-new.php?post_type=csection | 3.50 | 50.69 |
Server storage [IO: ▲0.67MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 14 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_cs_applicant_submissions |
New WordPress options |
---|
csaf_jal_db_version |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Career Section
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,008 ▲261 | 13.91 ▼0.44 | 10.78 ▲9.08 | 46.31 ▲3.83 |
Dashboard /wp-admin | 2,295 ▲118 | 5.56 ▼0.12 | 89.61 ▲3.98 | 46.64 ▲3.82 |
Posts /wp-admin/edit.php | 2,142 ▲42 | 1.97 ▼0.05 | 35.28 ▼5.86 | 30.63 ▼6.18 |
Add New Post /wp-admin/post-new.php | 1,563 ▲37 | 23.06 ▼0.38 | 680.99 ▲24.21 | 51.82 ▲1.40 |
Media Library /wp-admin/upload.php | 1,436 ▲33 | 4.18 ▲0.01 | 97.83 ▼8.70 | 41.55 ▼0.72 |
CS Tags /wp-admin/edit-tags.php?taxonomy=cs_tag&post_type=csection | 1,285 | 2.12 | 25.18 | 29.18 |
All CSection /wp-admin/edit.php?post_type=csection | 1,167 | 1.97 | 32.71 | 27.48 |
View Entries /wp-admin/edit.php?post_type=csection&page=appform | 1,010 | 2.03 | 26.30 | 32.79 |
CS Categories /wp-admin/edit-tags.php?taxonomy=csection_cat&post_type=csection | 1,313 | 2.12 | 25.63 | 30.87 |
Add New /wp-admin/post-new.php?post_type=csection | 2,808 | 7.74 | 175.10 | 64.87 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% 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 tables detected upon uninstall: 1 table
- wp_cs_applicant_submissions
- This plugin does not fully uninstall, leaving 7 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- csaf_jal_db_version
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
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
The following issues need your attention
- 6× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/career-section/include/top_level_menu.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/career-section/include/dashboard_widget.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/career-section/include/enqueue.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/career-section/include/posttype.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function untrailingslashit() in wp-content/plugins/career-section/index.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/career-section/templates/single-csection.php:1
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
1 plugin tags: install and send your cv
career-section/index.php 77% from 13 tests
"Career Section" version 1.02's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("career-section.php" instead of "index.php")
- Domain Path: The domain path is invalid: folder "/lang" does not exist
- 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 check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin16,565 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 4 | 795 | 367 | 15,690 |
PHP | 6 | 53 | 49 | 736 |
JavaScript | 2 | 26 | 32 | 139 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.17 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 18 | |
▷ Named functions | 18 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
There are no PNG files in this plugin