Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼296.92ms] Passed 4 tests
This is a short check of server-side resources used by CampTix Network Tools
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.03 | 53.53 ▲2.34 |
Dashboard /wp-admin | 3.44 ▲0.03 | 34.14 ▼3.60 |
Posts /wp-admin/edit.php | 3.67 ▲0.03 | 38.86 ▲2.90 |
Add New Post /wp-admin/post-new.php | 6.90 ▼0.07 | 94.78 ▼1,188.59 |
Media Library /wp-admin/upload.php | 3.32 ▲0.02 | 25.30 ▲2.18 |
Server storage [IO: ▲0.33MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 12 new files
Database: 1 new table, 1 new option
New tables |
---|
wp_camptix_log |
New WordPress options |
---|
camptix_dashboard_timestamp |
Browser metrics Passed 4 tests
An overview of browser requirements for CampTix Network Tools
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,763 ▲9 | 16.16 ▲0.36 | 5.83 ▼0.15 | 2.34 ▼0.45 |
Dashboard /wp-admin | 2,895 ▲41 | 6.14 ▼0.07 | 132.35 ▼4.82 | 157.96 ▼3.06 |
Posts /wp-admin/edit.php | 2,688 ▼6 | 3.23 ▼0.00 | 64.20 ▼1.22 | 139.09 ▼4.40 |
Add New Post /wp-admin/post-new.php | 1,711 ▲50 | 21.39 ▲5.73 | 437.62 ▲13.94 | 159.17 ▲11.90 |
Media Library /wp-admin/upload.php | 1,698 ▼0 | 5.53 ▼0.01 | 132.18 ▼14.59 | 185.86 ▲1.53 |
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
Please fix the following items
- Zombie tables were found after uninstall: 1 table
- wp_camptix_log
- Zombie WordPress options were found after uninstall: 1 option
- camptix_dashboard_timestamp
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)
Good news, no errors were detected
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
Please fix the following items
- 5× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WP_List_Table' not found in wp-content/plugins/camptix-network-tools/includes/class-camptix-network-log-list-table.php:3
- > PHP Fatal error
Uncaught Error: Class 'WP_List_Table' not found in wp-content/plugins/camptix-network-tools/includes/class-camptix-network-attendees-list-table.php:2
- > PHP Fatal error
Uncaught Error: Class 'WP_List_Table' not found in wp-content/plugins/camptix-network-tools/includes/class-camptix-network-dashboard-list-table.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/camptix-network-tools/camptix-network-tools.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/camptix-network-tools/network-dashboard.php:8
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that need to be fixed:
- Screenshots: Please add an image for screenshot #1 (Lookup attendee details)
camptix-network-tools/camptix-network-tools.php Passed 13 tests
The principal PHP file in "CampTix Network Tools" v. 0.2 is loaded by WordPress automatically on each request
78 characters long description:
Tools for managing CampTix installations across a WordPress Multisite network.
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
No dangerous file extensions were detected922 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 196 | 85 | 922 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 27.80 |
▷ Minimum class complexity | 11.00 |
▷ Maximum class complexity | 61.00 |
Average method complexity | 3.23 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 29.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 60 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 59 | 98.33% |
▷ Protected methods | 1 | 1.67% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
4 PNG files occupy 0.29MB with 0.19MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 190.66KB | 59.07KB | ▼ 69.02% |
screenshot-3.png | 19.32KB | 7.19KB | ▼ 62.78% |
screenshot-1.png | 63.98KB | 20.21KB | ▼ 68.41% |
screenshot-4.png | 18.55KB | 6.59KB | ▼ 64.47% |