Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼5.03ms] Passed 4 tests
Server-side resources used by atec Cache APCu
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 38.70 ▲1.45 |
Dashboard /wp-admin | 3.34 ▲0.03 | 46.96 ▼2.58 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 48.40 ▼4.69 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 85.46 ▼14.29 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 37.21 ▲2.24 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 18 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for atec Cache APCu
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,835 ▲78 | 13.30 ▼1.35 | 1.68 ▼0.19 | 32.90 ▼5.71 |
Dashboard /wp-admin | 2,244 ▲56 | 4.89 ▲0.00 | 101.06 ▼2.07 | 43.46 ▼0.50 |
Posts /wp-admin/edit.php | 2,128 ▲36 | 2.02 ▼0.04 | 35.67 ▼6.22 | 35.14 ▼0.73 |
Add New Post /wp-admin/post-new.php | 1,531 ▼11 | 23.05 ▲4.93 | 667.56 ▲55.37 | 56.78 ▼6.07 |
Media Library /wp-admin/upload.php | 1,423 ▲32 | 4.25 ▼0.01 | 94.66 ▼3.93 | 38.50 ▼3.49 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
1 plugin tags: apcu object and page cache
atec-cache-apcu/atec-cache-apcu.php 85% from 13 tests
This is the main PHP file of "atec Cache APCu" version 1.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please make the necessary changes and fix the following:
- Requires PHP: The required version number did not match the one declared in readme.txt ("5.6" instead of "7.2")
- Requires at least: The required version number did not match the one declared in readme.txt ("4.5" instead of "5.2")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin1,109 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 172 | 41 | 1,094 |
CSS | 3 | 0 | 10 | 14 |
SVG | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 23.83 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 74.00 |
Average method complexity | 2.94 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 29.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 72 | |
▷ Static methods | 1 | 1.39% |
▷ Public methods | 34 | 47.22% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 38 | 52.78% |
Functions | 39 | |
▷ Named functions | 35 | 89.74% |
▷ Anonymous functions | 4 | 10.26% |
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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin