Benchmarks
Plugin footprint 83% 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 successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.28MB] [CPU: ▼13.83ms] Passed 4 tests
Server-side resources used by Archive Control
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.74 ▲0.28 | 39.52 ▼3.16 |
Dashboard /wp-admin | 3.58 ▲0.28 | 53.52 ▼3.08 |
Posts /wp-admin/edit.php | 3.69 ▲0.34 | 52.28 ▼0.77 |
Add New Post /wp-admin/post-new.php | 6.16 ▲0.28 | 88.39 ▼48.31 |
Media Library /wp-admin/upload.php | 3.50 ▲0.27 | 42.22 ▲6.40 |
Archive Control /wp-admin/options-general.php?page=archive-control | 3.50 | 41.07 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 11 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
archive_control_db_current_version |
Browser metrics Passed 4 tests
Checking browser requirements for Archive Control
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.34 ▼0.02 | 1.62 ▼0.08 | 35.88 ▼8.49 |
Dashboard /wp-admin | 2,190 ▲13 | 5.53 ▼0.14 | 84.81 ▼6.32 | 41.96 ▼0.83 |
Posts /wp-admin/edit.php | 2,107 ▲4 | 1.99 ▼0.02 | 39.26 ▲3.55 | 37.25 ▲1.68 |
Add New Post /wp-admin/post-new.php | 1,539 ▲4 | 23.18 ▲5.09 | 679.20 ▲38.96 | 52.72 ▼14.39 |
Media Library /wp-admin/upload.php | 1,404 ▲7 | 4.27 ▲0.08 | 100.95 ▼5.53 | 40.60 ▼2.77 |
Archive Control /wp-admin/options-general.php?page=archive-control | 1,126 | 3.08 | 41.96 | 65.35 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- This plugin did not uninstall successfully, leaving 7 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- archive_control_db_current_version
- db_upgraded
- can_compress_scripts
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please take a closer look at the following
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/archive-control/db/update.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/archive-control/admin-sidebar.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that require attention:
- Tags: Please reduce the number of tags, currently 14 tag instead of maximum 10
archive-control/archive-control.php Passed 13 tests
The main PHP script in "Archive Control" version 1.3.4 is automatically included on every request by WordPress
119 characters long description:
Customize custom post type archive titles, order, pagination, and add editable textareas above and below archive pages.
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
Success! There were no dangerous files found in this plugin1,589 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 108 | 354 | 1,350 |
JavaScript | 1 | 30 | 16 | 174 |
CSS | 1 | 0 | 0 | 58 |
SVG | 1 | 0 | 0 | 7 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.69 |
Average class complexity | 372.00 |
▷ Minimum class complexity | 372.00 |
▷ Maximum class complexity | 372.00 |
Average method complexity | 9.43 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 55.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 44 | |
▷ Static methods | 13 | 29.55% |
▷ Public methods | 43 | 97.73% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 2.27% |
Functions | 9 | |
▷ Named functions | 9 | 100.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
No PNG images were found in this plugin