Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▼0.00MB] [CPU: ▼179.08ms] Passed 4 tests
An overview of server-side resources used by ACF: TablePress
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.84 ▲0.00 | 25.01 ▼0.74 |
Dashboard /wp-admin | 3.06 ▼0.00 | 41.54 ▼3.92 |
Posts /wp-admin/edit.php | 3.11 ▲0.00 | 39.66 ▲6.47 |
Add New Post /wp-admin/post-new.php | 5.42 ▼0.02 | 73.51 ▼710.28 |
Media Library /wp-admin/upload.php | 3.00 ▲0.00 | 25.34 ▼1.39 |
Server storage [IO: ▲0.20MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 13 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
ACF: TablePress: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,666 ▲65 | 15.68 ▲0.03 | 6.10 ▼1.58 | 74.81 ▲0.34 |
Dashboard /wp-admin | 2,932 ▲33 | 6.13 ▼0.08 | 157.32 ▲30.49 | 235.40 ▲72.49 |
Posts /wp-admin/edit.php | 2,737 ▼6 | 3.22 ▼0.01 | 74.91 ▲5.63 | 153.90 ▲11.21 |
Add New Post /wp-admin/post-new.php | 3,735 ▼80 | 18.87 ▼0.42 | 458.89 ▲1.70 | 163.41 ▲7.39 |
Media Library /wp-admin/upload.php | 1,752 ▼0 | 5.55 ▲0.00 | 152.55 ▲14.46 | 190.02 ▲1.47 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Uninstall script ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not 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
Almost there! Just fix the following items
- 3× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function did_action() in wp-content/plugins/acf-tablepress/class-tgm-plugin-activation.php:1899
- > PHP Fatal error
Uncaught Error: Class 'acf_field' not found in wp-content/plugins/acf-tablepress/tablepress-v5.php:2
- > PHP Fatal error
Uncaught Error: Class 'acf_field' not found in wp-content/plugins/acf-tablepress/tablepress-v4.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
7 plugin tags: embed table, tables, advanced custom fields, tablepress, select table...
acf-tablepress/acf-tablepress.php Passed 13 tests
The entry point to "ACF: TablePress" version 1.3.2 is a PHP file that has certain tags in its header comment area
49 characters long description:
ACF field to select one or many TablePress tables
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
Good job! No executable or dangerous file extensions detected2,232 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 512 | 1,488 | 1,924 |
PO File | 2 | 95 | 102 | 308 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.49 |
Average class complexity | 36.67 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 178.00 |
Average method complexity | 4.15 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 36.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 102 | |
▷ Static methods | 5 | 4.90% |
▷ Public methods | 82 | 80.39% |
▷ Protected methods | 20 | 19.61% |
▷ Private methods | 0 | 0.00% |
Functions | 9 | |
▷ Named functions | 9 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 3 | 100.00% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin