89% admin-page-spider

Code Review | Admin Page Spider

WordPress plugin Admin Page Spider scored89%from 54 tests.

About plugin

  • Plugin page: admin-page-spider
  • Plugin version: 3.20
  • PHP version: 7.4.16
  • WordPress compatibility: 4.3.0-6.3.1
  • WordPress version: 6.3.1
  • First release: May 5, 2016
  • Latest release: Sep 18, 2023
  • Number of updates: 59
  • Update frequency: every 45.7 days
  • Top authors: jatacid (100%)

Code review

54 tests

User reviews

20 reviews

Install metrics

1,000+ active /32,845 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.12MB] [CPU: ▼4.82ms] Passed 4 tests

This is a short check of server-side resources used by Admin Page Spider
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.60 ▲0.1440.14 ▲0.40
Dashboard /wp-admin3.43 ▲0.0848.22 ▼11.93
Posts /wp-admin/edit.php3.54 ▲0.1849.45 ▲1.04
Add New Post /wp-admin/post-new.php6.01 ▲0.1295.65 ▼6.93
Media Library /wp-admin/upload.php3.35 ▲0.1237.90 ▼0.83
Admin Page Spider Free /wp-admin/options-general.php?page=apspider_fields3.3233.39

Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests

A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 10 new options
New WordPress options
apspider_radio_editmenu
theysaidso_admin_options
apspp_radio_viewposts
widget_recent-posts
apspider_editmenu_name
db_upgraded
widget_recent-comments
apspp_posts_name
widget_theysaidso_widget
can_compress_scripts

Browser metrics Passed 4 tests

Admin Page Spider: an overview of browser usage
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,915 ▲16914.41 ▲0.021.65 ▼0.1038.21 ▼5.25
Dashboard /wp-admin2,263 ▲825.53 ▼0.1681.97 ▼19.6437.01 ▼2.99
Posts /wp-admin/edit.php2,165 ▲622.04 ▲0.0739.99 ▼5.9035.29 ▼1.28
Add New Post /wp-admin/post-new.php1,579 ▲5323.25 ▼0.03656.17 ▼3.3552.63 ▲1.57
Media Library /wp-admin/upload.php1,468 ▲684.22 ▼0.1097.01 ▲0.5541.53 ▼1.96
Admin Page Spider Free /wp-admin/options-general.php?page=apspider_fields1,0201.6523.0136.71

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: 6 options
    • widget_recent-posts
    • db_upgraded
    • widget_theysaidso_widget
    • can_compress_scripts
    • widget_recent-comments
    • theysaidso_admin_options

Smoke tests Passed 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 Passed 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
The SRP test was a success

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side

Optimizations

Plugin configuration 90% from 29 tests

readme.txt 81% from 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Please fix the following attributes:
  • Tags: Please reduce the number of tags, currently 23 tag instead of maximum 10
  • Screenshots: Screenshot #1 (screenshot-2.png) image missing
  • Screenshots: A description for screenshot #4 is required in admin-page-spider/assets to your readme.txt
You can look at the official readme.txt

admin-page-spider/admin-page-spider.php Passed 13 tests

The main PHP file in "Admin Page Spider" ver. 3.20 adds more information about the plugin and also serves as the entry point for this plugin
123 characters long description:
Adds a list of your pages & posts to the admin bar so you have quick access instead of going into multiple dashboard pages.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected767 lines of code in 7 files:
LanguageFilesBlank linesComment linesLines of code
PHP623696701
PO File1192366

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.38
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions25
▷ Named functions25100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin