Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.09MB] [CPU: ▼5.66ms] Passed 4 tests
A check of server-side resources used by Aircraft Builders Log
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.08 | 40.03 ▼2.01 |
Dashboard /wp-admin | 3.45 ▲0.06 | 54.11 ▼12.48 |
Posts /wp-admin/edit.php | 3.55 ▲0.15 | 62.51 ▲13.18 |
Add New Post /wp-admin/post-new.php | 6.05 ▲0.12 | 93.92 ▼15.29 |
Media Library /wp-admin/upload.php | 3.37 ▲0.10 | 42.63 ▲7.16 |
Airplane Sections /wp-admin/edit-tags.php?taxonomy=airplane_section | 3.37 | 45.28 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 4 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
widget_airplane_section_widget |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Aircraft Builders Log
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,798 ▲37 | 14.68 ▼0.05 | 1.52 ▼0.38 | 44.03 ▲2.61 |
Dashboard /wp-admin | 2,198 ▲18 | 5.70 ▲0.06 | 95.23 ▼6.86 | 39.16 ▼5.36 |
Posts /wp-admin/edit.php | 2,154 ▲51 | 2.14 ▲0.14 | 44.69 ▲8.78 | 39.54 ▲7.34 |
Add New Post /wp-admin/post-new.php | 6,332 ▲4,804 | 20.85 ▼2.35 | 853.40 ▲143.21 | 70.99 ▼1.13 |
Media Library /wp-admin/upload.php | 1,406 ▲6 | 4.37 ▼0.02 | 102.50 ▼7.43 | 43.91 ▼1.85 |
Airplane Sections /wp-admin/edit-tags.php?taxonomy=airplane_section | 1,258 | 2.24 | 30.45 | 30.87 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 7 options
- widget_airplane_section_widget
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
Smoke tests 50% 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 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
Please fix the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/aircraft-builders-log-time-tracker/builders-log.php:13
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please fix the following browser errors
- > GET request to /wp-admin/edit-tags.php?taxonomy=airplane_section
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28609 "jQuery.Deferred exception: $(...).live is not a function" "TypeError: $(...).live is not a function\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/aircraft-builders-log-time-tracker/js/airplane_section_taxonomy.js:4:86)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:27292)" undefined
- > GET request to /wp-admin/edit-tags.php?taxonomy=airplane_section
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28721 Uncaught TypeError: $(...).live is not a function
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
4 plugin tags: builders log, time tracker, aircraft, kitplane
aircraft-builders-log-time-tracker/builders-log.php 77% from 13 tests
The main PHP file in "Aircraft Builders Log" ver. 20161117... adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 208 characters long)
- Version: Use only periods and digits for the version number (ex. "1.0.3" instead of "20161117...")
- Main file name: Name the main plugin file the same as the plugin slug ("aircraft-builders-log-time-tracker.php" instead of "builders-log.php")
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 plugin297 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 38 | 28 | 266 |
JavaScript | 1 | 2 | 0 | 20 |
Markdown | 1 | 5 | 0 | 11 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 14.50 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 25.00 |
Average method complexity | 2.80 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 16 | |
▷ Static methods | 8 | 50.00% |
▷ Public methods | 14 | 87.50% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 12.50% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin